@opendesign-plus/components 0.0.1-rc.2 → 0.0.1-rc.3

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.
@@ -1,8 +1,8 @@
1
- import { defineComponent as R, computed as z, createElementBlock as i, openBlock as l, normalizeStyle as oe, unref as e, renderSlot as I, ref as E, normalizeClass as T, createBlock as S, toDisplayString as u, withCtx as v, Fragment as L, renderList as J, createVNode as m, createElementVNode as a, createCommentVNode as b, createTextVNode as O, resolveComponent as we, h as $e, onMounted as X, getCurrentInstance as Ce, inject as Ie, watch as Y, Teleport as ve, nextTick as me, withDirectives as Oe, withKeys as xe, withModifiers as Se, vShow as Ae, reactive as ze, provide as Pe } from "vue";
2
- import { isBoolean as ae, isString as le, isUndefined as pe, OCarousel as ne, OCarouselItem as ie, OFigure as ce, OButton as Q, OIcon as M, OIconClose as Ve, ODialog as Ee, OSwitch as fe, OInput as Be, ODivider as De, OConfigProvider as Me, isArray as Te, OLink as Ne } from "@opensig/opendesign";
3
- import { useTheme as Ue, useScreen as Z } from "@opendesign-plus/composables";
4
- import { useVModel as ge, onClickOutside as He } from "@vueuse/core";
5
- import { ElButton as W, ElIcon as Re, ElDialog as Ke, ElSwitch as Ge } from "element-plus";
1
+ import { defineComponent as R, computed as z, createElementBlock as c, openBlock as l, normalizeStyle as le, unref as e, renderSlot as I, ref as E, normalizeClass as M, createBlock as x, toDisplayString as u, withCtx as v, Fragment as G, renderList as Y, createVNode as m, createElementVNode as a, createCommentVNode as w, createTextVNode as O, resolveComponent as we, h as $e, onMounted as Q, getCurrentInstance as Ce, inject as Ie, watch as j, Teleport as me, nextTick as pe, withDirectives as Oe, withKeys as xe, withModifiers as Se, vShow as Ae, reactive as ze, provide as Pe } from "vue";
2
+ import { isBoolean as ne, isString as se, isUndefined as fe, OCarousel as ie, OCarouselItem as ce, OFigure as re, OButton as q, OIcon as D, OIconClose as Ve, ODialog as Ee, OSwitch as ge, OInput as Be, ODivider as De, OConfigProvider as Me, isArray as Te, OLink as Ne } from "@opensig/opendesign";
3
+ import { useTheme as Ue, useScreen as W } from "@opendesign-plus/composables";
4
+ import { useVModel as ke, onClickOutside as He } from "@vueuse/core";
5
+ import { ElButton as J, ElIcon as Re, ElDialog as Ke, ElSwitch as Ge } from "element-plus";
6
6
  import "element-plus/es/components/button/style/index";
7
7
  import "element-plus/es/components/dialog/style/index";
8
8
  import "element-plus/es/components/switch/style/index";
@@ -13,23 +13,23 @@ const Le = /* @__PURE__ */ R({
13
13
  verticalPadding: { type: [Boolean, String, Array], default: void 0 }
14
14
  },
15
15
  setup(t) {
16
- const o = Symbol("default"), s = t, k = z(() => s.verticalPadding ? ae(s.verticalPadding) ? o : le(s.verticalPadding) ? s.verticalPadding : s.verticalPadding[0] : 0), d = z(() => s.verticalPadding ? ae(s.verticalPadding) ? o : le(s.verticalPadding) ? s.verticalPadding : pe(s.verticalPadding[1]) ? s.verticalPadding[0] : s.verticalPadding[1] : 0);
17
- return (f, p) => (l(), i("div", {
16
+ const o = Symbol("default"), s = t, y = z(() => s.verticalPadding ? ne(s.verticalPadding) ? o : se(s.verticalPadding) ? s.verticalPadding : s.verticalPadding[0] : 0), d = z(() => s.verticalPadding ? ne(s.verticalPadding) ? o : se(s.verticalPadding) ? s.verticalPadding : fe(s.verticalPadding[1]) ? s.verticalPadding[0] : s.verticalPadding[1] : 0);
17
+ return (g, _) => (l(), c("div", {
18
18
  class: "content-wrapper",
19
- style: oe({
20
- "--content-wrapper-vertical-paddingTop": k.value === e(o) ? void 0 : k.value,
19
+ style: le({
20
+ "--content-wrapper-vertical-paddingTop": y.value === e(o) ? void 0 : y.value,
21
21
  "--content-wrapper-vertical-paddingBottom": d.value === e(o) ? void 0 : d.value
22
22
  })
23
23
  }, [
24
- I(f.$slots, "default", {}, void 0, !0)
24
+ I(g.$slots, "default", {}, void 0, !0)
25
25
  ], 4));
26
26
  }
27
- }), j = (t, o) => {
27
+ }), L = (t, o) => {
28
28
  const s = t.__vccOpts || t;
29
- for (const [k, d] of o)
30
- s[k] = d;
29
+ for (const [y, d] of o)
30
+ s[y] = d;
31
31
  return s;
32
- }, re = /* @__PURE__ */ j(Le, [["__scopeId", "data-v-a0f91aed"]]), je = { key: 0 }, Ye = { class: "banner-content" }, Je = ["src"], We = {
32
+ }, de = /* @__PURE__ */ L(Le, [["__scopeId", "data-v-a0f91aed"]]), je = { key: 0 }, Ye = { class: "banner-content" }, Je = ["src"], We = {
33
33
  key: 1,
34
34
  class: "banner-title"
35
35
  }, Ze = {
@@ -46,37 +46,37 @@ const Le = /* @__PURE__ */ R({
46
46
  contentJustifyCenter: !1
47
47
  },
48
48
  setup(t) {
49
- const o = t, { isLight: s } = Ue("opendesignplus", document.domain || "localhost"), { isPhone: k } = Z(), d = z(() => o.options), f = E(""), p = (n) => {
49
+ const o = t, { isLight: s } = Ue("opendesignplus", document.domain || "localhost"), { isPhone: y } = W(), d = z(() => o.options), g = E(""), _ = (r) => {
50
50
  setTimeout(() => {
51
- f.value = d.value[n].bg_theme ?? "light";
51
+ g.value = d.value[r].bg_theme ?? "light";
52
52
  }, 100);
53
- }, r = (n, y) => {
54
- n && !y && window.open(n);
53
+ }, n = (r, k) => {
54
+ r && !k && window.open(r);
55
55
  };
56
- return (n, y) => (l(), i("div", {
57
- class: T(["home-banner", t.size])
56
+ return (r, k) => (l(), c("div", {
57
+ class: M(["home-banner", t.size])
58
58
  }, [
59
- t.size === "tiny" ? (l(), i("div", je, u(d.value[1].title), 1)) : e(k) ? (l(), S(e(ne), {
59
+ t.size === "tiny" ? (l(), c("div", je, u(d.value[1].title), 1)) : e(y) ? (l(), x(e(ie), {
60
60
  key: 2,
61
61
  class: "banner-carousel",
62
62
  effect: "gallery",
63
63
  "indicator-click": "",
64
- "data-o-theme": f.value,
64
+ "data-o-theme": g.value,
65
65
  arrow: "never",
66
66
  "auto-play": !0,
67
- onBeforeChange: p
67
+ onBeforeChange: _
68
68
  }, {
69
69
  default: v(() => [
70
- (l(!0), i(L, null, J(d.value, (c, _) => (l(), S(e(ie), {
71
- class: T(["banner-item", `banner-item${_}`])
70
+ (l(!0), c(G, null, Y(d.value, (i, b) => (l(), x(e(ce), {
71
+ class: M(["banner-item", `banner-item${b}`])
72
72
  }, {
73
73
  default: v(() => [
74
- m(re, { class: "banner-wrapper" }, {
74
+ m(de, { class: "banner-wrapper" }, {
75
75
  default: v(() => [
76
- m(e(ce), {
76
+ m(e(re), {
77
77
  class: "banner-bg",
78
- src: c.bg,
79
- onClick: (x) => r(c.href)
78
+ src: i.bg,
79
+ onClick: (C) => n(i.href)
80
80
  }, null, 8, ["src", "onClick"])
81
81
  ]),
82
82
  _: 2
@@ -86,72 +86,72 @@ const Le = /* @__PURE__ */ R({
86
86
  }, 1032, ["class"]))), 256))
87
87
  ]),
88
88
  _: 1
89
- }, 8, ["data-o-theme"])) : (l(), S(e(ne), {
89
+ }, 8, ["data-o-theme"])) : (l(), x(e(ie), {
90
90
  key: 1,
91
91
  class: "banner-carousel",
92
92
  effect: "toggle",
93
93
  "active-class": "current-slide",
94
94
  "indicator-click": "",
95
95
  "auto-play": !0,
96
- "data-o-theme": f.value,
97
- onBeforeChange: p
96
+ "data-o-theme": g.value,
97
+ onBeforeChange: _
98
98
  }, {
99
99
  default: v(() => [
100
- (l(!0), i(L, null, J(d.value, (c, _) => (l(), S(e(ie), {
101
- key: _,
102
- class: T(["banner-item", `banner-item${_}`])
100
+ (l(!0), c(G, null, Y(d.value, (i, b) => (l(), x(e(ce), {
101
+ key: b,
102
+ class: M(["banner-item", `banner-item${b}`])
103
103
  }, {
104
104
  default: v(() => [
105
- m(e(ce), {
106
- class: T(["banner-bg", {
107
- "with-sticky-bg": c.withStickyBg,
105
+ m(e(re), {
106
+ class: M(["banner-bg", {
107
+ "with-sticky-bg": i.withStickyBg,
108
108
  "in-dark": !e(s),
109
- "cursor-pointer": c.href && !c.btn
109
+ "cursor-pointer": i.href && !i.btn
110
110
  }]),
111
- src: c.bg,
112
- style: oe({
113
- "--pad-offset": c.pad_offset
111
+ src: i.bg,
112
+ style: le({
113
+ "--pad-offset": i.pad_offset
114
114
  }),
115
- onClick: (x) => r(c.href, c.btn)
115
+ onClick: (C) => n(i.href, i.btn)
116
116
  }, {
117
117
  default: v(() => [
118
- m(re, {
119
- class: T(["banner-wrapper", ["banner-wrapper", t.contentJustifyCenter ? "content-center" : ""]])
118
+ m(de, {
119
+ class: M(["banner-wrapper", ["banner-wrapper", t.contentJustifyCenter ? "content-center" : ""]])
120
120
  }, {
121
121
  default: v(() => [
122
122
  a("div", Ye, [
123
- !e(k) && c.attach ? (l(), i("img", {
123
+ !e(y) && i.attach ? (l(), c("img", {
124
124
  key: 0,
125
- src: c.attach,
125
+ src: i.attach,
126
126
  class: "banner-attach"
127
- }, null, 8, Je)) : b("", !0),
128
- c.title ? (l(), i("div", We, u(c.title), 1)) : b("", !0),
129
- c.subtitle ? (l(), i("div", Ze, u(c.subtitle), 1)) : b("", !0),
130
- c.bg_text ? (l(), i("div", {
127
+ }, null, 8, Je)) : w("", !0),
128
+ i.title ? (l(), c("div", We, u(i.title), 1)) : w("", !0),
129
+ i.subtitle ? (l(), c("div", Ze, u(i.subtitle), 1)) : w("", !0),
130
+ i.bg_text ? (l(), c("div", {
131
131
  key: 3,
132
132
  class: "banner-text",
133
- style: oe({
134
- backgroundImage: `url(${c.bg_text})`,
135
- "--pc-width": c.pc_text_width,
136
- "--pc-height": c.pc_text_height,
137
- "--pad-width": c.pad_text_width,
138
- "--pad-height": c.pad_text_height
133
+ style: le({
134
+ backgroundImage: `url(${i.bg_text})`,
135
+ "--pc-width": i.pc_text_width,
136
+ "--pc-height": i.pc_text_height,
137
+ "--pad-width": i.pad_text_width,
138
+ "--pad-height": i.pad_text_height
139
139
  })
140
- }, null, 4)) : b("", !0),
141
- c.btn ? (l(), i("div", Fe, [
142
- m(e(Q), {
143
- href: c.href,
140
+ }, null, 4)) : w("", !0),
141
+ i.btn ? (l(), c("div", Fe, [
142
+ m(e(q), {
143
+ href: i.href,
144
144
  target: "_blank",
145
145
  variant: "solid",
146
146
  color: "primary",
147
147
  size: t.size
148
148
  }, {
149
149
  default: v(() => [
150
- O(u(c.btn), 1)
150
+ O(u(i.btn), 1)
151
151
  ]),
152
152
  _: 2
153
153
  }, 1032, ["href", "size"])
154
- ])) : b("", !0)
154
+ ])) : w("", !0)
155
155
  ])
156
156
  ]),
157
157
  _: 2
@@ -167,12 +167,12 @@ const Le = /* @__PURE__ */ R({
167
167
  }, 8, ["data-o-theme"]))
168
168
  ], 2));
169
169
  }
170
- }), Qe = /* @__PURE__ */ j(qe, [["__scopeId", "data-v-38a33983"]]), Xe = (t) => {
170
+ }), Qe = /* @__PURE__ */ L(qe, [["__scopeId", "data-v-38a33983"]]), Xe = (t) => {
171
171
  const o = E(!1);
172
- return X(() => {
172
+ return Q(() => {
173
173
  o.value = !0;
174
174
  }), () => o.value && t.default ? t.default() : null;
175
- }, ke = R({
175
+ }, ye = R({
176
176
  setup(t, { slots: o }) {
177
177
  const s = we("ClientOnly");
178
178
  return s && typeof s != "string" ? () => $e(s, null, { default: () => o.default ? o.default() : null }) : Xe(o);
@@ -204,17 +204,17 @@ const Le = /* @__PURE__ */ R({
204
204
  "cookie.analyticalCookieDetail": "We will use these cookies only with your consent. These cookies help us make improvements by collecting statistics such as the number of visits and traffic sources.",
205
205
  "cookie.saveSetting": "Save Settings",
206
206
  "cookie.setting": "Cookie settings"
207
- }, ye = Symbol("provide-config-provider"), ot = E({
207
+ }, _e = Symbol("provide-config-provider"), ot = E({
208
208
  zh: et,
209
209
  en: tt
210
210
  });
211
- function se() {
212
- const o = Ce() ? Ie(ye) : null, s = z(() => (o == null ? void 0 : o.locale) || "zh");
211
+ function ae() {
212
+ const o = Ce() ? Ie(_e) : null, s = z(() => (o == null ? void 0 : o.locale) || "zh");
213
213
  return {
214
214
  locale: s,
215
- t: (d, ...f) => {
216
- const r = ot.value[s.value][d];
217
- return f.length > 0 && le(r) ? r.replace(/{(\d+)}/g, (n, y) => f[y] ?? n) : (pe(r) && console.warn(`Cannot translate the value of keypath '${d}'`), r);
215
+ t: (d, ...g) => {
216
+ const n = ot.value[s.value][d];
217
+ return g.length > 0 && se(n) ? n.replace(/{(\d+)}/g, (r, k) => g[k] ?? r) : (fe(n) && console.warn(`Cannot translate the value of keypath '${d}'`), n);
218
218
  }
219
219
  };
220
220
  }
@@ -228,7 +228,7 @@ const lt = {
228
228
  }, ct = ["href"], rt = { class: "cookie-title" }, dt = { class: "cookie-desc" }, ut = ["href"], ht = {
229
229
  key: 0,
230
230
  class: "cookie-notice-right"
231
- }, vt = { class: "cookie-dlg-title" }, mt = { class: "cookie-dlg-content" }, pt = { class: "content-item" }, ft = { class: "item-header" }, gt = { class: "item-title" }, kt = { class: "item-extra" }, yt = { class: "item-detail" }, _t = { class: "content-item" }, bt = { class: "item-header" }, wt = { class: "item-title" }, $t = { class: "item-extra" }, Ct = { class: "item-detail" }, It = "0", de = "1", Ot = "2", F = "3", xt = "agreed-cookiepolicy-zh", St = "agreed-cookiepolicy-en", At = /* @__PURE__ */ R({
231
+ }, vt = { class: "cookie-dlg-title" }, mt = { class: "cookie-dlg-content" }, pt = { class: "content-item" }, ft = { class: "item-header" }, gt = { class: "item-title" }, kt = { class: "item-extra" }, yt = { class: "item-detail" }, _t = { class: "content-item" }, bt = { class: "item-header" }, wt = { class: "item-title" }, $t = { class: "item-extra" }, Ct = { class: "item-detail" }, It = "0", ue = "1", Ot = "2", Z = "3", xt = "agreed-cookiepolicy-zh", St = "agreed-cookiepolicy-en", At = /* @__PURE__ */ R({
232
232
  __name: "OCookieNotice",
233
233
  props: {
234
234
  visible: { type: Boolean },
@@ -240,131 +240,131 @@ const lt = {
240
240
  },
241
241
  emits: ["update:visible"],
242
242
  setup(t, { expose: o, emit: s }) {
243
- const k = t, d = s, { lePadV: f, leLaptop: p } = Z(), { locale: r, t: n } = se(), y = z(() => r.value === "zh"), c = z(() => y.value ? xt : St), _ = E(!1), x = ge(k, "visible", d, { defaultValue: !1 }), A = (g) => {
244
- const C = document.cookie.split(";").find((D) => D.split("=")[0].trim() === encodeURIComponent(g));
245
- return C ? decodeURIComponent(C.split("=")[1]) : null;
246
- }, B = (g, C, D, _e) => {
247
- const be = `; max-age=${D * 24 * 60 * 60}`;
248
- document.cookie = `${encodeURIComponent(g)}=${encodeURIComponent(C)}${be}; path=/; domain=${_e}`;
249
- }, K = (g, C) => {
250
- document.cookie = `${encodeURIComponent(g)}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=${C}`;
251
- }, P = (g) => {
252
- typeof g == "boolean" ? x.value = g : x.value = !x.value, me(() => {
253
- !x.value && y.value && A(c.value) !== F && B(c.value, F, 180, location.hostname);
243
+ const y = t, d = s, { lePadV: g, leLaptop: _ } = W(), { locale: n, t: r } = ae(), k = z(() => n.value === "zh"), i = z(() => k.value ? xt : St), b = E(!1), C = ke(y, "visible", d, { defaultValue: !1 }), P = (p) => {
244
+ const f = document.cookie.split(";").find((B) => B.split("=")[0].trim() === encodeURIComponent(p));
245
+ return f ? decodeURIComponent(f.split("=")[1]) : null;
246
+ }, V = (p, f, B, ee) => {
247
+ const be = `; max-age=${B * 24 * 60 * 60}`;
248
+ document.cookie = `${encodeURIComponent(p)}=${encodeURIComponent(f)}${be}; path=/; domain=${ee}`;
249
+ }, T = (p, f) => {
250
+ document.cookie = `${encodeURIComponent(p)}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=${f}`;
251
+ }, S = (p) => {
252
+ typeof p == "boolean" ? C.value = p : C.value = !C.value, pe(() => {
253
+ !C.value && k.value && P(i.value) !== Z && V(i.value, Z, 180, location.hostname);
254
254
  });
255
- }, U = E(!1), N = (g) => {
256
- typeof g == "boolean" ? U.value = g : U.value = !U.value;
257
- }, h = () => y.value ? A(c.value) !== F : (A(c.value) ?? "0") === It, H = () => y.value ? A(c.value) === F : A(c.value) === de;
258
- X(() => {
259
- h() && P(!0);
260
- }), Y(r, () => {
261
- P(h());
255
+ }, N = E(!1), H = (p) => {
256
+ typeof p == "boolean" ? N.value = p : N.value = !N.value;
257
+ }, h = () => k.value ? P(i.value) !== Z : (P(i.value) ?? "0") === It, U = () => k.value ? P(i.value) === Z : P(i.value) === ue;
258
+ Q(() => {
259
+ h() && S(!0);
260
+ }), j(n, () => {
261
+ S(h());
262
262
  });
263
- const w = () => {
264
- _.value = !0, K(c.value, location.hostname), B(c.value, de, 180, location.hostname), P(!1);
265
- }, G = () => {
266
- _.value = !1, K(c.value, location.hostname), B(c.value, Ot, 180, location.hostname), P(!1);
267
- }, V = z(() => [
263
+ const $ = () => {
264
+ b.value = !0, T(i.value, location.hostname), V(i.value, ue, 180, location.hostname), S(!1);
265
+ }, K = () => {
266
+ b.value = !1, T(i.value, location.hostname), V(i.value, Ot, 180, location.hostname), S(!1);
267
+ }, X = z(() => [
268
268
  {
269
269
  id: "save",
270
270
  color: "primary",
271
- label: n("cookie.saveSetting"),
271
+ label: r("cookie.saveSetting"),
272
272
  variant: "outline",
273
273
  size: "large",
274
274
  round: "pill",
275
275
  onClick: () => {
276
- _.value ? w() : G(), N(!1);
276
+ b.value ? $() : K(), H(!1);
277
277
  }
278
278
  },
279
279
  {
280
280
  id: "allowAll",
281
281
  color: "primary",
282
- label: n("cookie.acceptAll"),
282
+ label: r("cookie.acceptAll"),
283
283
  variant: "outline",
284
284
  size: "large",
285
285
  round: "pill",
286
286
  onClick: () => {
287
- _.value = !0, w(), N(!1);
287
+ b.value = !0, $(), H(!1);
288
288
  }
289
289
  }
290
- ]), $ = (g) => {
291
- g && (_.value = H());
290
+ ]), A = (p) => {
291
+ p && (b.value = U());
292
292
  };
293
293
  return o({
294
294
  check() {
295
- H() === x.value && P();
295
+ U() === C.value && S();
296
296
  }
297
- }), (g, C) => (l(), S(e(ke), null, {
297
+ }), (p, f) => (l(), x(e(ye), null, {
298
298
  default: v(() => [
299
- (l(), S(ve, {
299
+ (l(), x(me, {
300
300
  to: t.teleportTarget || "#app"
301
301
  }, [
302
- e(x) ? (l(), i("div", lt, [
302
+ e(C) ? (l(), c("div", lt, [
303
303
  a("div", st, [
304
304
  a("div", {
305
- type: e(r),
306
- class: T({ "cookie-notice-wrap-grid": t.enableGrid, "cookie-notice-wrap": !t.enableGrid })
305
+ type: e(n),
306
+ class: M({ "cookie-notice-wrap-grid": t.enableGrid, "cookie-notice-wrap": !t.enableGrid })
307
307
  }, [
308
308
  a("div", nt, [
309
- y.value ? (l(), i("p", it, [
310
- O(u(e(n)("cookie.desc")) + " ", 1),
309
+ k.value ? (l(), c("p", it, [
310
+ O(u(e(r)("cookie.desc")) + " ", 1),
311
311
  a("a", {
312
312
  href: t.aboutPathZh,
313
313
  target: "_blank",
314
314
  rel: "noopener noreferrer"
315
- }, u(e(n)("cookie.about")), 9, ct)
316
- ])) : (l(), i(L, { key: 1 }, [
317
- a("p", rt, u(e(n)("cookie.title", [t.community])), 1),
315
+ }, u(e(r)("cookie.about")), 9, ct)
316
+ ])) : (l(), c(G, { key: 1 }, [
317
+ a("p", rt, u(e(r)("cookie.title", [t.community])), 1),
318
318
  a("p", dt, [
319
- O(u(e(n)("cookie.desc")) + " ", 1),
319
+ O(u(e(r)("cookie.desc")) + " ", 1),
320
320
  a("a", {
321
321
  href: t.aboutPathEn,
322
322
  target: "_blank",
323
323
  rel: "noopener noreferrer"
324
- }, u(e(n)("cookie.about")), 9, ut),
325
- C[4] || (C[4] = O(". ", -1))
324
+ }, u(e(r)("cookie.about")), 9, ut),
325
+ f[4] || (f[4] = O(". ", -1))
326
326
  ])
327
327
  ], 64))
328
328
  ]),
329
- y.value ? b("", !0) : (l(), i("div", ht, [
330
- m(e(Q), {
329
+ k.value ? w("", !0) : (l(), c("div", ht, [
330
+ m(e(q), {
331
331
  round: "pill",
332
332
  variant: "outline",
333
333
  color: "primary",
334
- onClick: w
334
+ onClick: $
335
335
  }, {
336
336
  default: v(() => [
337
- O(u(e(n)("cookie.acceptAll")), 1)
337
+ O(u(e(r)("cookie.acceptAll")), 1)
338
338
  ]),
339
339
  _: 1
340
340
  }),
341
- m(e(Q), {
341
+ m(e(q), {
342
342
  round: "pill",
343
343
  variant: "outline",
344
344
  color: "primary",
345
- onClick: G
345
+ onClick: K
346
346
  }, {
347
347
  default: v(() => [
348
- O(u(e(n)("cookie.rejectAll")), 1)
348
+ O(u(e(r)("cookie.rejectAll")), 1)
349
349
  ]),
350
350
  _: 1
351
351
  }),
352
- m(e(Q), {
352
+ m(e(q), {
353
353
  round: "pill",
354
354
  variant: "outline",
355
355
  color: "primary",
356
- onClick: C[0] || (C[0] = (D) => N(!0))
356
+ onClick: f[0] || (f[0] = (B) => H(!0))
357
357
  }, {
358
358
  default: v(() => [
359
- O(u(e(n)("cookie.manage")), 1)
359
+ O(u(e(r)("cookie.manage")), 1)
360
360
  ]),
361
361
  _: 1
362
362
  })
363
363
  ])),
364
- m(e(M), {
364
+ m(e(D), {
365
365
  class: "cookie-notice-close",
366
- type: e(r),
367
- onClick: C[1] || (C[1] = (D) => P(!1))
366
+ type: e(n),
367
+ onClick: f[1] || (f[1] = (B) => S(!1))
368
368
  }, {
369
369
  default: v(() => [
370
370
  m(e(Ve))
@@ -374,49 +374,49 @@ const lt = {
374
374
  ], 10, at)
375
375
  ]),
376
376
  m(e(Ee), {
377
- visible: U.value,
378
- "onUpdate:visible": C[3] || (C[3] = (D) => U.value = D),
379
- size: e(p) ? "medium" : "large",
380
- "phone-half-full": e(f),
377
+ visible: N.value,
378
+ "onUpdate:visible": f[3] || (f[3] = (B) => N.value = B),
379
+ size: e(_) ? "medium" : "large",
380
+ "phone-half-full": e(g),
381
381
  class: "cookie-dlg",
382
- actions: V.value,
383
- onChange: $
382
+ actions: X.value,
383
+ onChange: A
384
384
  }, {
385
385
  header: v(() => [
386
- a("span", vt, u(e(n)("cookie.manage")), 1)
386
+ a("span", vt, u(e(r)("cookie.manage")), 1)
387
387
  ]),
388
388
  default: v(() => [
389
389
  a("div", mt, [
390
390
  a("div", pt, [
391
391
  a("div", ft, [
392
- a("span", gt, u(e(n)("cookie.necessaryCookie")), 1),
393
- a("span", kt, u(e(n)("cookie.alwaysOn")), 1)
392
+ a("span", gt, u(e(r)("cookie.necessaryCookie")), 1),
393
+ a("span", kt, u(e(r)("cookie.alwaysOn")), 1)
394
394
  ]),
395
- a("div", yt, u(e(n)("cookie.necessaryCookieDetail")), 1)
395
+ a("div", yt, u(e(r)("cookie.necessaryCookieDetail")), 1)
396
396
  ]),
397
397
  a("div", _t, [
398
398
  a("div", bt, [
399
- a("span", wt, u(e(n)("cookie.analyticalCookie")), 1),
399
+ a("span", wt, u(e(r)("cookie.analyticalCookie")), 1),
400
400
  a("span", $t, [
401
- m(e(fe), {
402
- modelValue: _.value,
403
- "onUpdate:modelValue": C[2] || (C[2] = (D) => _.value = D)
401
+ m(e(ge), {
402
+ modelValue: b.value,
403
+ "onUpdate:modelValue": f[2] || (f[2] = (B) => b.value = B)
404
404
  }, null, 8, ["modelValue"])
405
405
  ])
406
406
  ]),
407
- a("div", Ct, u(e(n)("cookie.analyticalCookieDetail")), 1)
407
+ a("div", Ct, u(e(r)("cookie.analyticalCookieDetail")), 1)
408
408
  ])
409
409
  ])
410
410
  ]),
411
411
  _: 1
412
412
  }, 8, ["visible", "size", "phone-half-full", "actions"])
413
- ])) : b("", !0)
413
+ ])) : w("", !0)
414
414
  ], 8, ["to"]))
415
415
  ]),
416
416
  _: 1
417
417
  }));
418
418
  }
419
- }), zt = /* @__PURE__ */ j(At, [["__scopeId", "data-v-5ba95c2f"]]), Pt = {
419
+ }), zt = /* @__PURE__ */ L(At, [["__scopeId", "data-v-5ba95c2f"]]), Pt = {
420
420
  key: 0,
421
421
  class: "cookie-notice"
422
422
  }, Vt = { class: "cookie-notice-content" }, Et = ["type"], Bt = { class: "cookie-notice-left" }, Dt = {
@@ -426,8 +426,8 @@ const lt = {
426
426
  }, Mt = ["href"], Tt = { class: "cookie-title" }, Nt = { class: "cookie-desc" }, Ut = ["href"], Ht = {
427
427
  key: 0,
428
428
  class: "cookie-notice-right"
429
- }, Rt = { class: "cookie-dlg-content" }, Kt = { class: "content-item" }, Gt = { class: "item-header" }, Lt = { class: "item-title" }, jt = { class: "item-extra" }, Yt = { class: "item-detail" }, Jt = { class: "content-item" }, Wt = { class: "item-header" }, Zt = { class: "item-title" }, Ft = { class: "item-extra" }, qt = { class: "item-detail" }, Qt = "0", ue = "1", Xt = "2", q = "3", eo = "agreed-cookiepolicy-zh", to = "agreed-cookiepolicy-en", oo = /* @__PURE__ */ R({
430
- __name: "OCookieNoticeEl",
429
+ }, Rt = { class: "cookie-dlg-content" }, Kt = { class: "content-item" }, Gt = { class: "item-header" }, Lt = { class: "item-title" }, jt = { class: "item-extra" }, Yt = { class: "item-detail" }, Jt = { class: "content-item" }, Wt = { class: "item-header" }, Zt = { class: "item-title" }, Ft = { class: "item-extra" }, qt = { class: "item-detail" }, Qt = "0", he = "1", Xt = "2", F = "3", eo = "agreed-cookiepolicy-zh", to = "agreed-cookiepolicy-en", oo = /* @__PURE__ */ R({
430
+ __name: "OElCookieNotice",
431
431
  props: {
432
432
  visible: { type: Boolean },
433
433
  enableGrid: { type: Boolean },
@@ -437,108 +437,112 @@ const lt = {
437
437
  teleportTarget: {}
438
438
  },
439
439
  emits: ["update:visible"],
440
- setup(t, { emit: o }) {
441
- const s = t, k = o, { lePadV: d } = Z(), { locale: f, t: p } = se(), r = z(() => f.value === "zh"), n = z(() => r.value ? eo : to), y = E(!1), c = ge(s, "visible", k, { defaultValue: !1 }), _ = (V) => {
442
- const $ = document.cookie.split(";").find((g) => g.split("=")[0].trim() === encodeURIComponent(V));
443
- return $ ? decodeURIComponent($.split("=")[1]) : null;
444
- }, x = (V, $, g, C) => {
445
- const D = `; max-age=${g * 24 * 60 * 60}`;
446
- document.cookie = `${encodeURIComponent(V)}=${encodeURIComponent($)}${D}; path=/; domain=${C}`;
447
- }, A = (V) => {
448
- typeof V == "boolean" ? c.value = V : c.value = !c.value, me(() => {
449
- !c.value && r.value && _(n.value) !== q && x(n.value, q, 180, location.hostname);
440
+ setup(t, { expose: o, emit: s }) {
441
+ const y = t, d = s, { lePadV: g } = W(), { locale: _, t: n } = ae(), r = z(() => _.value === "zh"), k = z(() => r.value ? eo : to), i = E(!1), b = ke(y, "visible", d, { defaultValue: !1 }), C = (A) => {
442
+ const p = document.cookie.split(";").find((f) => f.split("=")[0].trim() === encodeURIComponent(A));
443
+ return p ? decodeURIComponent(p.split("=")[1]) : null;
444
+ }, P = (A, p, f, B) => {
445
+ const ee = `; max-age=${f * 24 * 60 * 60}`;
446
+ document.cookie = `${encodeURIComponent(A)}=${encodeURIComponent(p)}${ee}; path=/; domain=${B}`;
447
+ }, V = (A) => {
448
+ typeof A == "boolean" ? b.value = A : b.value = !b.value, pe(() => {
449
+ !b.value && r.value && C(k.value) !== F && P(k.value, F, 180, location.hostname);
450
450
  });
451
- }, B = E(!1), K = (V) => {
452
- typeof V == "boolean" ? B.value = V : B.value = !B.value;
453
- }, P = () => r.value ? _(n.value) !== q : (_(n.value) ?? "0") === Qt, U = () => r.value ? _(n.value) === q : _(n.value) === ue;
454
- X(() => {
455
- P() && A(!0);
456
- }), Y(f, () => {
457
- A(P());
451
+ }, T = E(!1), S = (A) => {
452
+ typeof A == "boolean" ? T.value = A : T.value = !T.value;
453
+ }, N = () => r.value ? C(k.value) !== F : (C(k.value) ?? "0") === Qt, H = () => r.value ? C(k.value) === F : C(k.value) === he;
454
+ Q(() => {
455
+ N() && V(!0);
456
+ }), j(_, () => {
457
+ V(N());
458
458
  });
459
- const N = () => {
460
- y.value = !0, x(n.value, ue, 180, location.hostname), A(!1);
461
- }, h = () => {
462
- y.value = !1, x(n.value, Xt, 180, location.hostname), A(!1);
463
- }, H = () => {
464
- y.value ? N() : h(), K(!1);
465
- }, w = () => {
466
- y.value = !0, N(), K(!1);
467
- }, G = () => {
468
- y.value = U();
459
+ const h = () => {
460
+ i.value = !0, P(k.value, he, 180, location.hostname), V(!1);
461
+ }, U = () => {
462
+ i.value = !1, P(k.value, Xt, 180, location.hostname), V(!1);
463
+ }, $ = () => {
464
+ i.value ? h() : U(), S(!1);
465
+ }, K = () => {
466
+ i.value = !0, h(), S(!1);
467
+ }, X = () => {
468
+ i.value = H();
469
469
  };
470
- return (V, $) => (l(), S(e(ke), null, {
470
+ return o({
471
+ check() {
472
+ H() === b.value && V();
473
+ }
474
+ }), (A, p) => (l(), x(e(ye), null, {
471
475
  default: v(() => [
472
- (l(), S(ve, {
476
+ (l(), x(me, {
473
477
  to: t.teleportTarget || "#app"
474
478
  }, [
475
- e(c) ? (l(), i("div", Pt, [
479
+ e(b) ? (l(), c("div", Pt, [
476
480
  a("div", Vt, [
477
481
  a("div", {
478
- type: e(f),
479
- class: T({ "cookie-notice-wrap-grid": t.enableGrid, "cookie-notice-wrap": !t.enableGrid })
482
+ type: e(_),
483
+ class: M({ "cookie-notice-wrap-grid": t.enableGrid, "cookie-notice-wrap": !t.enableGrid })
480
484
  }, [
481
485
  a("div", Bt, [
482
- r.value ? (l(), i("p", Dt, [
483
- O(u(e(p)("cookie.desc")) + " ", 1),
486
+ r.value ? (l(), c("p", Dt, [
487
+ O(u(e(n)("cookie.desc")) + " ", 1),
484
488
  a("a", {
485
489
  href: t.aboutPathZh,
486
490
  target: "_blank",
487
491
  rel: "noopener noreferrer"
488
- }, u(e(p)("cookie.about")), 9, Mt)
489
- ])) : (l(), i(L, { key: 1 }, [
490
- a("p", Tt, u(e(p)("cookie.title", [t.community])), 1),
492
+ }, u(e(n)("cookie.about")), 9, Mt)
493
+ ])) : (l(), c(G, { key: 1 }, [
494
+ a("p", Tt, u(e(n)("cookie.title", [t.community])), 1),
491
495
  a("p", Nt, [
492
- O(u(e(p)("cookie.desc")) + " ", 1),
496
+ O(u(e(n)("cookie.desc")) + " ", 1),
493
497
  a("a", {
494
498
  href: t.aboutPathEn,
495
499
  target: "_blank",
496
500
  rel: "noopener noreferrer"
497
- }, u(e(p)("cookie.about")), 9, Ut),
498
- $[4] || ($[4] = O(". ", -1))
501
+ }, u(e(n)("cookie.about")), 9, Ut),
502
+ p[4] || (p[4] = O(". ", -1))
499
503
  ])
500
504
  ], 64))
501
505
  ]),
502
- r.value ? b("", !0) : (l(), i("div", Ht, [
503
- m(e(W), {
506
+ r.value ? w("", !0) : (l(), c("div", Ht, [
507
+ m(e(J), {
504
508
  round: "",
505
509
  type: "primary",
506
- onClick: N
510
+ onClick: h
507
511
  }, {
508
512
  default: v(() => [
509
- O(u(e(p)("cookie.acceptAll")), 1)
513
+ O(u(e(n)("cookie.acceptAll")), 1)
510
514
  ]),
511
515
  _: 1
512
516
  }),
513
- m(e(W), {
517
+ m(e(J), {
514
518
  round: "",
515
519
  type: "primary",
516
- onClick: h
520
+ onClick: U
517
521
  }, {
518
522
  default: v(() => [
519
- O(u(e(p)("cookie.rejectAll")), 1)
523
+ O(u(e(n)("cookie.rejectAll")), 1)
520
524
  ]),
521
525
  _: 1
522
526
  }),
523
- m(e(W), {
527
+ m(e(J), {
524
528
  round: "",
525
529
  type: "primary",
526
- onClick: $[0] || ($[0] = (g) => K(!0))
530
+ onClick: p[0] || (p[0] = (f) => S(!0))
527
531
  }, {
528
532
  default: v(() => [
529
- O(u(e(p)("cookie.manage")), 1)
533
+ O(u(e(n)("cookie.manage")), 1)
530
534
  ]),
531
535
  _: 1
532
536
  })
533
537
  ])),
534
538
  m(e(Re), {
535
539
  class: "cookie-notice-close",
536
- type: e(f),
537
- onClick: $[1] || ($[1] = (g) => A(!1))
540
+ type: e(_),
541
+ onClick: p[1] || (p[1] = (f) => V(!1))
538
542
  }, {
539
543
  default: v(() => [
540
- I(V.$slots, "close-icon", {}, () => [
541
- $[5] || ($[5] = a("svg", {
544
+ I(A.$slots, "close-icon", {}, () => [
545
+ p[5] || (p[5] = a("svg", {
542
546
  xmlns: "http://www.w3.org/2000/svg",
543
547
  viewBox: "0 0 1024 1024"
544
548
  }, [
@@ -554,32 +558,32 @@ const lt = {
554
558
  ], 10, Et)
555
559
  ]),
556
560
  m(e(Ke), {
557
- modelValue: B.value,
558
- "onUpdate:modelValue": $[3] || ($[3] = (g) => B.value = g),
559
- width: e(d) ? "90%" : "50%",
560
- title: e(p)("cookie.manage"),
561
+ modelValue: T.value,
562
+ "onUpdate:modelValue": p[3] || (p[3] = (f) => T.value = f),
563
+ width: e(g) ? "90%" : "50%",
564
+ title: e(n)("cookie.manage"),
561
565
  "destroy-on-close": "",
562
- onOpen: G
566
+ onOpen: X
563
567
  }, {
564
568
  footer: v(() => [
565
- m(e(W), {
569
+ m(e(J), {
566
570
  round: "",
567
571
  type: "primary",
568
- onClick: H,
572
+ onClick: $,
569
573
  style: { "margin-right": "16px" }
570
574
  }, {
571
575
  default: v(() => [
572
- O(u(e(p)("cookie.saveSetting")), 1)
576
+ O(u(e(n)("cookie.saveSetting")), 1)
573
577
  ]),
574
578
  _: 1
575
579
  }),
576
- m(e(W), {
580
+ m(e(J), {
577
581
  round: "",
578
582
  type: "primary",
579
- onClick: w
583
+ onClick: K
580
584
  }, {
581
585
  default: v(() => [
582
- O(u(e(p)("cookie.acceptAll")), 1)
586
+ O(u(e(n)("cookie.acceptAll")), 1)
583
587
  ]),
584
588
  _: 1
585
589
  })
@@ -588,34 +592,34 @@ const lt = {
588
592
  a("div", Rt, [
589
593
  a("div", Kt, [
590
594
  a("div", Gt, [
591
- a("span", Lt, u(e(p)("cookie.necessaryCookie")), 1),
592
- a("span", jt, u(e(p)("cookie.alwaysOn")), 1)
595
+ a("span", Lt, u(e(n)("cookie.necessaryCookie")), 1),
596
+ a("span", jt, u(e(n)("cookie.alwaysOn")), 1)
593
597
  ]),
594
- a("div", Yt, u(e(p)("cookie.necessaryCookieDetail")), 1)
598
+ a("div", Yt, u(e(n)("cookie.necessaryCookieDetail")), 1)
595
599
  ]),
596
600
  a("div", Jt, [
597
601
  a("div", Wt, [
598
- a("span", Zt, u(e(p)("cookie.analyticalCookie")), 1),
602
+ a("span", Zt, u(e(n)("cookie.analyticalCookie")), 1),
599
603
  a("span", Ft, [
600
604
  m(e(Ge), {
601
- modelValue: y.value,
602
- "onUpdate:modelValue": $[2] || ($[2] = (g) => y.value = g)
605
+ modelValue: i.value,
606
+ "onUpdate:modelValue": p[2] || (p[2] = (f) => i.value = f)
603
607
  }, null, 8, ["modelValue"])
604
608
  ])
605
609
  ]),
606
- a("div", qt, u(e(p)("cookie.analyticalCookieDetail")), 1)
610
+ a("div", qt, u(e(n)("cookie.analyticalCookieDetail")), 1)
607
611
  ])
608
612
  ])
609
613
  ]),
610
614
  _: 1
611
615
  }, 8, ["modelValue", "width", "title"])
612
- ])) : b("", !0)
616
+ ])) : w("", !0)
613
617
  ], 8, ["to"]))
614
618
  ]),
615
619
  _: 3
616
620
  }));
617
621
  }
618
- }), lo = /* @__PURE__ */ j(oo, [["__scopeId", "data-v-72bd84ae"]]), so = {
622
+ }), lo = /* @__PURE__ */ L(oo, [["__scopeId", "data-v-3840fed3"]]), so = {
619
623
  version: "1.1",
620
624
  xmlns: "http://www.w3.org/2000/svg",
621
625
  width: "24",
@@ -623,7 +627,7 @@ const lt = {
623
627
  viewBox: "0 0 24 24"
624
628
  };
625
629
  function ao(t, o) {
626
- return l(), i("svg", so, [...o[0] || (o[0] = [
630
+ return l(), c("svg", so, [...o[0] || (o[0] = [
627
631
  a("path", {
628
632
  fill: "currentColor",
629
633
  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"
@@ -638,7 +642,7 @@ const no = { name: "components-icon-close", render: ao }, io = {
638
642
  viewBox: "0 0 32 32"
639
643
  };
640
644
  function co(t, o) {
641
- return l(), i("svg", io, [...o[0] || (o[0] = [
645
+ return l(), c("svg", io, [...o[0] || (o[0] = [
642
646
  a("path", {
643
647
  opacity: "0.8",
644
648
  fill: "currentColor",
@@ -651,7 +655,7 @@ function co(t, o) {
651
655
  }, null, -1)
652
656
  ])]);
653
657
  }
654
- const he = { name: "components-icon-header-search", render: co }, ro = {
658
+ const ve = { name: "components-icon-header-search", render: co }, ro = {
655
659
  version: "1.1",
656
660
  xmlns: "http://www.w3.org/2000/svg",
657
661
  width: "32",
@@ -659,7 +663,7 @@ const he = { name: "components-icon-header-search", render: co }, ro = {
659
663
  viewBox: "0 0 32 32"
660
664
  };
661
665
  function uo(t, o) {
662
- return l(), i("svg", ro, [...o[0] || (o[0] = [
666
+ return l(), c("svg", ro, [...o[0] || (o[0] = [
663
667
  a("path", {
664
668
  fill: "currentColor",
665
669
  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"
@@ -674,7 +678,7 @@ const ho = { name: "components-icon-header-delete", render: uo }, vo = {
674
678
  viewBox: "0 0 24 24"
675
679
  };
676
680
  function mo(t, o) {
677
- return l(), i("svg", vo, [...o[0] || (o[0] = [
681
+ return l(), c("svg", vo, [...o[0] || (o[0] = [
678
682
  a("path", {
679
683
  fill: "currentColor",
680
684
  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"
@@ -689,7 +693,7 @@ const po = { name: "components-icon-delete", render: mo }, fo = {
689
693
  viewBox: "0 0 36 32"
690
694
  };
691
695
  function go(t, o) {
692
- return l(), i("svg", fo, [...o[0] || (o[0] = [
696
+ return l(), c("svg", fo, [...o[0] || (o[0] = [
693
697
  a("path", {
694
698
  fill: "currentColor",
695
699
  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"
@@ -727,92 +731,92 @@ const ko = { name: "components-icon-header-back", render: go }, yo = { class: "o
727
731
  },
728
732
  emits: ["update:modelValue", "update:historyItems", "clear", "search", "delete-history", "delete-history-item"],
729
733
  setup(t, { emit: o }) {
730
- const { lePadV: s } = Z(), { t: k } = se(), d = t, f = o, p = E(d.modelValue), r = E(d.historyItems), n = E(!1), y = E(), c = z(() => !s.value && n.value || s.value && p.value);
731
- Y(
734
+ const { lePadV: s } = W(), { t: y } = ae(), d = t, g = o, _ = E(d.modelValue), n = E(d.historyItems), r = E(!1), k = E(), i = z(() => !s.value && r.value || s.value && _.value);
735
+ j(
732
736
  () => d.modelValue,
733
737
  (h) => {
734
- p.value !== h && (p.value = h);
738
+ _.value !== h && (_.value = h);
735
739
  }
736
- ), Y(
737
- () => p.value,
740
+ ), j(
741
+ () => _.value,
738
742
  (h) => {
739
- f("update:modelValue", h);
743
+ g("update:modelValue", h);
740
744
  }
741
- ), Y(
745
+ ), j(
742
746
  () => d.historyItems,
743
747
  (h) => {
744
- r.value !== h && (r.value = h);
748
+ n.value !== h && (n.value = h);
745
749
  }
746
- ), Y(
747
- () => r.value,
750
+ ), j(
751
+ () => n.value,
748
752
  (h) => {
749
- f("update:historyItems", h);
753
+ g("update:historyItems", h);
750
754
  }
751
- ), X(() => {
755
+ ), Q(() => {
752
756
  if (d.storeHistory && d.storageKey)
753
757
  try {
754
758
  const h = JSON.parse(localStorage.getItem(d.storageKey) || "[]");
755
- Array.isArray(h) && h.length && (r.value = Array.from(/* @__PURE__ */ new Set([...r.value, ...h])));
759
+ Array.isArray(h) && h.length && (n.value = Array.from(/* @__PURE__ */ new Set([...n.value, ...h])));
756
760
  } catch {
757
761
  }
758
762
  });
759
- const _ = () => {
760
- n.value = !0;
761
- }, x = () => {
762
- const h = p.value.trim();
763
- h && (n.value = !1, r.value.unshift(h), r.value = Array.from(new Set(r.value)), r.value.length > d.maxHistoryCount && r.value.pop(), d.storeHistory && d.storeHistory && localStorage.setItem(d.storageKey, JSON.stringify(r.value)), f("search", h), d.searchUrl && window.open(d.searchUrl + h, d.searchUrlOpenBlank ? "_blank" : "_self", "noopener noreferrer"));
764
- }, A = () => {
765
- p.value = "", f("clear"), s.value || (n.value = !1);
766
- }, B = () => {
767
- const h = [...r.value];
768
- r.value = [], d.storeHistory && d.storeHistory && localStorage.removeItem(d.storageKey), f("delete-history", h);
769
- }, K = (h) => {
770
- r.value = r.value.filter((H) => H !== h), d.storeHistory && d.storeHistory && (r.value.length ? localStorage.setItem(d.storageKey, JSON.stringify(r.value)) : localStorage.removeItem(d.storageKey)), f("delete-history-item", h);
771
- }, P = (h) => {
772
- p.value = h, x();
773
- }, U = () => {
774
- p.value = "", n.value = !1;
775
- }, N = E();
776
- return He(N, A), (h, H) => (l(), i("div", yo, [
763
+ const b = () => {
764
+ r.value = !0;
765
+ }, C = () => {
766
+ const h = _.value.trim();
767
+ h && (r.value = !1, n.value.unshift(h), n.value = Array.from(new Set(n.value)), n.value.length > d.maxHistoryCount && n.value.pop(), d.storeHistory && d.storeHistory && localStorage.setItem(d.storageKey, JSON.stringify(n.value)), g("search", h), d.searchUrl && window.open(d.searchUrl + h, d.searchUrlOpenBlank ? "_blank" : "_self", "noopener noreferrer"));
768
+ }, P = () => {
769
+ _.value = "", g("clear"), s.value || (r.value = !1);
770
+ }, V = () => {
771
+ const h = [...n.value];
772
+ n.value = [], d.storeHistory && d.storeHistory && localStorage.removeItem(d.storageKey), g("delete-history", h);
773
+ }, T = (h) => {
774
+ n.value = n.value.filter((U) => U !== h), d.storeHistory && d.storeHistory && (n.value.length ? localStorage.setItem(d.storageKey, JSON.stringify(n.value)) : localStorage.removeItem(d.storageKey)), g("delete-history-item", h);
775
+ }, S = (h) => {
776
+ _.value = h, C();
777
+ }, N = () => {
778
+ _.value = "", r.value = !1;
779
+ }, H = E();
780
+ return He(H, P), (h, U) => (l(), c("div", yo, [
777
781
  a("div", {
778
782
  ref_key: "posWrapper",
779
- ref: N,
780
- class: T({
783
+ ref: H,
784
+ class: M({
781
785
  "o-header-search-input-pc-wrapper": !e(s),
782
786
  "o-header-search-input-pc-wrapper-left": !e(s) && t.expandDirection === "left",
783
787
  "o-header-search-input-pc-wrapper-right": !e(s) && t.expandDirection === "right",
784
788
  "o-header-search-input-mobile-wrapper": e(s),
785
- focus: n.value
789
+ focus: r.value
786
790
  })
787
791
  }, [
788
792
  a("div", {
789
- class: T(["o-header-search-input-wrapper", { focus: n.value }])
793
+ class: M(["o-header-search-input-wrapper", { focus: r.value }])
790
794
  }, [
791
- e(s) && n.value ? (l(), S(e(M), {
795
+ e(s) && r.value ? (l(), x(e(D), {
792
796
  key: 0,
793
797
  class: "o-header-search-icon",
794
- onClick: U
798
+ onClick: N
795
799
  }, {
796
800
  default: v(() => [
797
801
  m(e(ko))
798
802
  ]),
799
803
  _: 1
800
- })) : b("", !0),
804
+ })) : w("", !0),
801
805
  m(e(Be), {
802
806
  ref_key: "inputRef",
803
- ref: y,
804
- modelValue: p.value,
805
- "onUpdate:modelValue": H[0] || (H[0] = (w) => p.value = w),
807
+ ref: k,
808
+ modelValue: _.value,
809
+ "onUpdate:modelValue": U[0] || (U[0] = ($) => _.value = $),
806
810
  class: "o-header-search-input",
807
- placeholder: n.value ? t.expandedPlaceholder ?? e(k)("search.expandedPlaceholder") : t.placeholder ?? e(k)("search.placeholder"),
808
- onFocus: _,
809
- onKeyup: xe(x, ["enter"])
811
+ placeholder: r.value ? t.expandedPlaceholder ?? e(y)("search.expandedPlaceholder") : t.placeholder ?? e(y)("search.placeholder"),
812
+ onFocus: b,
813
+ onKeyup: xe(C, ["enter"])
810
814
  }, {
811
815
  prefix: v(() => [
812
816
  I(h.$slots, "input-prefix", {}, () => [
813
- m(e(M), { class: "o-header-search-icon" }, {
817
+ m(e(D), { class: "o-header-search-icon" }, {
814
818
  default: v(() => [
815
- m(e(he))
819
+ m(e(ve))
816
820
  ]),
817
821
  _: 1
818
822
  })
@@ -820,48 +824,48 @@ const ko = { name: "components-icon-header-back", render: go }, yo = { class: "o
820
824
  ]),
821
825
  suffix: v(() => [
822
826
  I(h.$slots, "input-suffix", {}, () => [
823
- t.clearable && c.value ? (l(), S(e(M), {
827
+ t.clearable && i.value ? (l(), x(e(D), {
824
828
  key: 0,
825
829
  class: "o-header-search-icon close",
826
- onClick: A
830
+ onClick: P
827
831
  }, {
828
832
  default: v(() => [
829
833
  m(e(no))
830
834
  ]),
831
835
  _: 1
832
- })) : b("", !0)
836
+ })) : w("", !0)
833
837
  ], !0)
834
838
  ]),
835
839
  _: 3
836
840
  }, 8, ["modelValue", "placeholder"]),
837
- e(s) && n.value ? (l(), i("span", {
841
+ e(s) && r.value ? (l(), c("span", {
838
842
  key: 1,
839
843
  class: "o-header-search-text",
840
- onClick: x
841
- }, u(t.searchTextMobile ?? e(k)("search")), 1)) : b("", !0)
844
+ onClick: C
845
+ }, u(t.searchTextMobile ?? e(y)("search")), 1)) : w("", !0)
842
846
  ], 2),
843
847
  Oe(a("div", _o, [
844
848
  I(h.$slots, "drawer", {
845
849
  recommendItems: t.recommendItems,
846
- historyItems: r.value,
850
+ historyItems: n.value,
847
851
  hotItems: t.hotItems
848
852
  }, () => [
849
- t.recommendItems.length ? (l(), i("div", bo, [
853
+ t.recommendItems.length ? (l(), c("div", bo, [
850
854
  I(h.$slots, "recommend-header", { recommend: t.recommendItems }, void 0, !0),
851
855
  I(h.$slots, "recommend-content", { recommend: t.recommendItems }, () => [
852
- (l(!0), i(L, null, J(t.recommendItems, (w) => (l(), i("div", {
856
+ (l(!0), c(G, null, Y(t.recommendItems, ($) => (l(), c("div", {
853
857
  class: "o-header-search-recommend-item",
854
- key: w,
855
- onClick: (G) => P(w)
856
- }, u(w), 9, wo))), 128))
858
+ key: $,
859
+ onClick: (K) => S($)
860
+ }, u($), 9, wo))), 128))
857
861
  ], !0)
858
- ])) : r.value.length ? (l(), i("div", $o, [
859
- I(h.$slots, "history-header", { history: r.value }, () => [
862
+ ])) : n.value.length ? (l(), c("div", $o, [
863
+ I(h.$slots, "history-header", { history: n.value }, () => [
860
864
  a("div", Co, [
861
- a("span", Io, u(t.historyTitle ?? e(k)("search.history")), 1),
862
- m(e(M), {
865
+ a("span", Io, u(t.historyTitle ?? e(y)("search.history")), 1),
866
+ m(e(D), {
863
867
  class: "o-header-search-icon",
864
- onClick: B
868
+ onClick: V
865
869
  }, {
866
870
  default: v(() => [
867
871
  m(e(po))
@@ -870,17 +874,17 @@ const ko = { name: "components-icon-header-back", render: go }, yo = { class: "o
870
874
  })
871
875
  ])
872
876
  ], !0),
873
- I(h.$slots, "history-content", { history: r.value }, () => [
877
+ I(h.$slots, "history-content", { history: n.value }, () => [
874
878
  a("div", Oo, [
875
- (l(!0), i(L, null, J(r.value, (w) => (l(), i("div", {
876
- key: w,
879
+ (l(!0), c(G, null, Y(n.value, ($) => (l(), c("div", {
880
+ key: $,
877
881
  class: "o-header-search-history-item",
878
- onClick: (G) => P(w)
882
+ onClick: (K) => S($)
879
883
  }, [
880
- a("span", So, u(w), 1),
881
- m(e(M), {
884
+ a("span", So, u($), 1),
885
+ m(e(D), {
882
886
  class: "o-header-search-history-item-icon",
883
- onClick: Se((G) => K(w), ["stop"])
887
+ onClick: Se((K) => T($), ["stop"])
884
888
  }, {
885
889
  default: v(() => [
886
890
  m(e(ho), { class: "icon-delete" })
@@ -890,43 +894,43 @@ const ko = { name: "components-icon-header-back", render: go }, yo = { class: "o
890
894
  ], 8, xo))), 128))
891
895
  ])
892
896
  ], !0)
893
- ])) : b("", !0),
894
- (t.recommendItems.length || r.value.length) && t.hotItems.length ? (l(), S(e(De), {
897
+ ])) : w("", !0),
898
+ (t.recommendItems.length || n.value.length) && t.hotItems.length ? (l(), x(e(De), {
895
899
  key: 2,
896
900
  class: "o-header-search-drawer-divider"
897
- })) : b("", !0),
898
- t.hotItems.length ? (l(), i("div", Ao, [
901
+ })) : w("", !0),
902
+ t.hotItems.length ? (l(), c("div", Ao, [
899
903
  I(h.$slots, "hot-header", { hot: t.hotItems }, () => [
900
- a("div", zo, u(t.hotTitle ?? e(k)("search.hot")), 1)
904
+ a("div", zo, u(t.hotTitle ?? e(y)("search.hot")), 1)
901
905
  ], !0),
902
906
  I(h.$slots, "hot-content", { hot: t.hotItems }, () => [
903
907
  a("div", Po, [
904
- (l(!0), i(L, null, J(t.hotItems, (w) => (l(), i("div", {
905
- key: w,
908
+ (l(!0), c(G, null, Y(t.hotItems, ($) => (l(), c("div", {
909
+ key: $,
906
910
  class: "o-header-search-hot-item",
907
- onClick: (G) => P(w)
908
- }, u(w), 9, Vo))), 128))
911
+ onClick: (K) => S($)
912
+ }, u($), 9, Vo))), 128))
909
913
  ])
910
914
  ], !0)
911
- ])) : b("", !0)
915
+ ])) : w("", !0)
912
916
  ], !0)
913
917
  ], 512), [
914
- [Ae, n.value]
918
+ [Ae, r.value]
915
919
  ])
916
920
  ], 2),
917
- e(s) ? (l(), S(e(M), {
921
+ e(s) ? (l(), x(e(D), {
918
922
  key: 0,
919
923
  class: "o-header-search-icon-mobile",
920
- onClick: _
924
+ onClick: b
921
925
  }, {
922
926
  default: v(() => [
923
- m(e(he))
927
+ m(e(ve))
924
928
  ]),
925
929
  _: 1
926
- })) : b("", !0)
930
+ })) : w("", !0)
927
931
  ]));
928
932
  }
929
- }), Bo = /* @__PURE__ */ j(Eo, [["__scopeId", "data-v-cce80de4"]]), Do = {
933
+ }), Bo = /* @__PURE__ */ L(Eo, [["__scopeId", "data-v-cce80de4"]]), Do = {
930
934
  locale: "zh-CN",
931
935
  // common
932
936
  "common.empty": "暂无数据",
@@ -983,11 +987,11 @@ const ko = { name: "components-icon-header-back", render: go }, yo = { class: "o
983
987
  locale: z(() => o.locale),
984
988
  theme: z(() => o.theme)
985
989
  });
986
- return Pe(ye, s), (k, d) => (l(), S(e(Me), {
990
+ return Pe(_e, s), (y, d) => (l(), x(e(Me), {
987
991
  locale: t.locale === "zh" ? e(Do) : e(Mo)
988
992
  }, {
989
993
  default: v(() => [
990
- I(k.$slots, "default")
994
+ I(y.$slots, "default")
991
995
  ]),
992
996
  _: 3
993
997
  }, 8, ["locale"]));
@@ -1000,7 +1004,7 @@ const ko = { name: "components-icon-header-back", render: go }, yo = { class: "o
1000
1004
  viewBox: "0 0 24 24"
1001
1005
  };
1002
1006
  function Uo(t, o) {
1003
- return l(), i("svg", No, [...o[0] || (o[0] = [
1007
+ return l(), c("svg", No, [...o[0] || (o[0] = [
1004
1008
  a("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)
1005
1009
  ])]);
1006
1010
  }
@@ -1028,42 +1032,42 @@ const Ho = { name: "components-icon-chevron-right", render: Uo }, Ro = { class:
1028
1032
  },
1029
1033
  setup(t) {
1030
1034
  const o = t;
1031
- return (s, k) => (l(), i("div", {
1032
- class: T(["app-section", { "is-full": o.full }])
1035
+ return (s, y) => (l(), c("div", {
1036
+ class: M(["app-section", { "is-full": o.full }])
1033
1037
  }, [
1034
1038
  a("div", Ro, [
1035
1039
  I(s.$slots, "main", {}, () => [
1036
- s.$slots.header || o.title || o.subtitle ? (l(), i("div", {
1040
+ s.$slots.header || o.title || o.subtitle ? (l(), c("div", {
1037
1041
  key: 0,
1038
- class: T(["section-header", { "is-left": !o.headerJustifyCenter }])
1042
+ class: M(["section-header", { "is-left": !o.headerJustifyCenter }])
1039
1043
  }, [
1040
1044
  I(s.$slots, "header", {}, () => [
1041
- e(Te)(o.title) ? (l(!0), i(L, { key: 0 }, J(o.title, (d) => (l(), i("h2", {
1045
+ e(Te)(o.title) ? (l(!0), c(G, { key: 0 }, Y(o.title, (d) => (l(), c("h2", {
1042
1046
  key: d,
1043
1047
  class: "section-title"
1044
- }, u(d), 1))), 128)) : s.$slots.title || o.title ? (l(), i("h2", Ko, [
1048
+ }, u(d), 1))), 128)) : s.$slots.title || o.title ? (l(), c("h2", Ko, [
1045
1049
  I(s.$slots, "title", {}, () => [
1046
1050
  O(u(o.title), 1)
1047
1051
  ], !0)
1048
- ])) : b("", !0),
1049
- s.$slots.subtitle || o.subtitle ? (l(), i("p", Go, [
1052
+ ])) : w("", !0),
1053
+ s.$slots.subtitle || o.subtitle ? (l(), c("p", Go, [
1050
1054
  I(s.$slots, "subtitle", {}, () => [
1051
1055
  O(u(o.subtitle), 1)
1052
1056
  ], !0)
1053
- ])) : b("", !0)
1057
+ ])) : w("", !0)
1054
1058
  ], !0)
1055
- ], 2)) : b("", !0),
1056
- s.$slots.default ? (l(), i("div", Lo, [
1059
+ ], 2)) : w("", !0),
1060
+ s.$slots.default ? (l(), c("div", Lo, [
1057
1061
  I(s.$slots, "default", {}, void 0, !0)
1058
- ])) : b("", !0),
1059
- s.$slots.footer || o.footer ? (l(), i("div", jo, [
1062
+ ])) : w("", !0),
1063
+ s.$slots.footer || o.footer ? (l(), c("div", jo, [
1060
1064
  I(s.$slots, "footer", {}, () => [
1061
1065
  m(e(Ne), {
1062
1066
  href: o.footerHref,
1063
1067
  target: "_blank"
1064
1068
  }, {
1065
1069
  suffix: v(() => [
1066
- m(e(M), { class: "footer-icon" }, {
1070
+ m(e(D), { class: "footer-icon" }, {
1067
1071
  default: v(() => [
1068
1072
  m(e(Ho))
1069
1073
  ]),
@@ -1076,12 +1080,12 @@ const Ho = { name: "components-icon-chevron-right", render: Uo }, Ro = { class:
1076
1080
  _: 1
1077
1081
  }, 8, ["href"])
1078
1082
  ], !0)
1079
- ])) : b("", !0)
1083
+ ])) : w("", !0)
1080
1084
  ], !0)
1081
1085
  ])
1082
1086
  ], 2));
1083
1087
  }
1084
- }), Jo = /* @__PURE__ */ j(Yo, [["__scopeId", "data-v-57b81782"]]), Wo = {
1088
+ }), Jo = /* @__PURE__ */ L(Yo, [["__scopeId", "data-v-57b81782"]]), Wo = {
1085
1089
  version: "1.1",
1086
1090
  xmlns: "http://www.w3.org/2000/svg",
1087
1091
  width: "24",
@@ -1089,7 +1093,7 @@ const Ho = { name: "components-icon-chevron-right", render: Uo }, Ro = { class:
1089
1093
  viewBox: "0 0 24 24"
1090
1094
  };
1091
1095
  function Zo(t, o) {
1092
- return l(), i("svg", Wo, [...o[0] || (o[0] = [
1096
+ return l(), c("svg", Wo, [...o[0] || (o[0] = [
1093
1097
  a("path", {
1094
1098
  opacity: "0.8",
1095
1099
  fill: "currentColor",
@@ -1097,7 +1101,7 @@ function Zo(t, o) {
1097
1101
  }, null, -1)
1098
1102
  ])]);
1099
1103
  }
1100
- const ee = { name: "components-icon-sun", render: Zo }, Fo = {
1104
+ const te = { name: "components-icon-sun", render: Zo }, Fo = {
1101
1105
  version: "1.1",
1102
1106
  xmlns: "http://www.w3.org/2000/svg",
1103
1107
  width: "24",
@@ -1105,7 +1109,7 @@ const ee = { name: "components-icon-sun", render: Zo }, Fo = {
1105
1109
  viewBox: "0 0 24 24"
1106
1110
  };
1107
1111
  function qo(t, o) {
1108
- return l(), i("svg", Fo, [...o[0] || (o[0] = [
1112
+ return l(), c("svg", Fo, [...o[0] || (o[0] = [
1109
1113
  a("path", {
1110
1114
  opacity: "0.8",
1111
1115
  fill: "currentColor",
@@ -1113,7 +1117,7 @@ function qo(t, o) {
1113
1117
  }, null, -1)
1114
1118
  ])]);
1115
1119
  }
1116
- const te = { name: "components-icon-moon", render: qo }, Qo = { class: "o-theme-switcher" }, Xo = {
1120
+ const oe = { name: "components-icon-moon", render: qo }, Qo = { class: "o-theme-switcher" }, Xo = {
1117
1121
  key: 1,
1118
1122
  class: "o-theme-switcher-mobile"
1119
1123
  }, el = /* @__PURE__ */ R({
@@ -1123,53 +1127,53 @@ const te = { name: "components-icon-moon", render: qo }, Qo = { class: "o-theme-
1123
1127
  type: { default: "auto" },
1124
1128
  lightValue: { default: "light" },
1125
1129
  darkValue: { default: "dark" },
1126
- lightIcon: { default: ee },
1127
- darkIcon: { default: te }
1130
+ lightIcon: { default: te },
1131
+ darkIcon: { default: oe }
1128
1132
  },
1129
1133
  emits: ["update:theme", "change"],
1130
1134
  setup(t, { emit: o }) {
1131
- const s = t, k = o, { gtPhone: d } = Z(), f = z({
1135
+ const s = t, y = o, { gtPhone: d } = W(), g = z({
1132
1136
  get() {
1133
1137
  return s.theme;
1134
1138
  },
1135
- set(n) {
1136
- k("update:theme", n), k("change", n);
1139
+ set(r) {
1140
+ y("update:theme", r), y("change", r);
1137
1141
  }
1138
- }), p = z(() => s.type === "common" || s.type === "auto" && d.value), r = () => {
1139
- f.value = f.value === s.lightValue ? s.darkValue : s.lightValue;
1142
+ }), _ = z(() => s.type === "common" || s.type === "auto" && d.value), n = () => {
1143
+ g.value = g.value === s.lightValue ? s.darkValue : s.lightValue;
1140
1144
  };
1141
- return (n, y) => (l(), i("div", Qo, [
1142
- p.value ? (l(), i("div", {
1145
+ return (r, k) => (l(), c("div", Qo, [
1146
+ _.value ? (l(), c("div", {
1143
1147
  key: 0,
1144
1148
  class: "o-theme-switcher-common",
1145
- onClick: r
1149
+ onClick: n
1146
1150
  }, [
1147
- m(e(M), { class: "o-theme-icon" }, {
1151
+ m(e(D), { class: "o-theme-icon" }, {
1148
1152
  default: v(() => [
1149
- f.value === t.lightValue ? (l(), S(e(te), { key: 0 })) : (l(), S(e(ee), { key: 1 }))
1153
+ g.value === t.lightValue ? (l(), x(e(oe), { key: 0 })) : (l(), x(e(te), { key: 1 }))
1150
1154
  ]),
1151
1155
  _: 1
1152
1156
  })
1153
- ])) : (l(), i("div", Xo, [
1154
- m(e(fe), {
1155
- modelValue: f.value,
1156
- "onUpdate:modelValue": y[0] || (y[0] = (c) => f.value = c),
1157
+ ])) : (l(), c("div", Xo, [
1158
+ m(e(ge), {
1159
+ modelValue: g.value,
1160
+ "onUpdate:modelValue": k[0] || (k[0] = (i) => g.value = i),
1157
1161
  class: "o-theme-switch",
1158
1162
  "checked-value": t.darkValue,
1159
1163
  "unchecked-value": t.lightValue
1160
1164
  }, {
1161
1165
  on: v(() => [
1162
- m(e(M), { class: "o-theme-icon" }, {
1166
+ m(e(D), { class: "o-theme-icon" }, {
1163
1167
  default: v(() => [
1164
- m(e(ee))
1168
+ m(e(te))
1165
1169
  ]),
1166
1170
  _: 1
1167
1171
  })
1168
1172
  ]),
1169
1173
  off: v(() => [
1170
- m(e(M), { class: "o-theme-icon" }, {
1174
+ m(e(D), { class: "o-theme-icon" }, {
1171
1175
  default: v(() => [
1172
- m(e(te))
1176
+ m(e(oe))
1173
1177
  ]),
1174
1178
  _: 1
1175
1179
  })
@@ -1179,10 +1183,10 @@ const te = { name: "components-icon-moon", render: qo }, Qo = { class: "o-theme-
1179
1183
  ]))
1180
1184
  ]));
1181
1185
  }
1182
- }), tl = /* @__PURE__ */ j(el, [["__scopeId", "data-v-837e14fb"]]), ol = {
1186
+ }), tl = /* @__PURE__ */ L(el, [["__scopeId", "data-v-837e14fb"]]), ol = {
1183
1187
  OBanner: Qe,
1184
1188
  OCookieNotice: zt,
1185
- OCookieNoticeEl: lo,
1189
+ OElCookieNotice: lo,
1186
1190
  OHeaderSearch: Bo,
1187
1191
  OPlusConfigProvider: To,
1188
1192
  OSection: Jo,
@@ -1197,7 +1201,7 @@ const te = { name: "components-icon-moon", render: qo }, Qo = { class: "o-theme-
1197
1201
  export {
1198
1202
  Qe as OBanner,
1199
1203
  zt as OCookieNotice,
1200
- lo as OCookieNoticeEl,
1204
+ lo as OElCookieNotice,
1201
1205
  Bo as OHeaderSearch,
1202
1206
  To as OPlusConfigProvider,
1203
1207
  Jo as OSection,