@uoguelph/web-components 2.0.1 → 2.0.2-rc.2
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.
|
@@ -5,14 +5,14 @@ var j1 = (e) => {
|
|
|
5
5
|
var i2 = (e, t, a) => t in e ? n2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
|
|
6
6
|
var A1 = (e, t, a) => i2(e, typeof t != "symbol" ? t + "" : t, a), M1 = (e, t, a) => t.has(e) || j1("Cannot " + a);
|
|
7
7
|
var D = (e, t, a) => (M1(e, t, "read from private field"), a ? a.call(e) : t.get(e)), f1 = (e, t, a) => t.has(e) ? j1("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, a), k1 = (e, t, a, l) => (M1(e, t, "write to private field"), l ? l.call(e, a) : t.set(e, a), a), P1 = (e, t, a) => (M1(e, t, "access private method"), a);
|
|
8
|
-
import { x as
|
|
8
|
+
import { x as S1, z as z1, a1 as E1, a2 as v2, a3 as u2, a4 as h2, a5 as f2, a6 as d2, a7 as p2, A as g2, a8 as Y, a9 as T1, aa as F1, ab as b2, ac as x2, c as H, p as G, a as P, ad as B1, t as Z, s as U, d as $, _ as j, e as S, ae as m2, i as _, j as O, k as E, af as u1, ag as W1, ah as h1, r as b, ai as H1, Z as c1, Y as a1, h as T, g as B, C as X, l as w2, aj as _1, I as A, ak as _2, al as y2, H as W, U as F, m as r, W as r1, F as q, am as y1, J as i1, an as R1, V as q1, B as G1, v as n1, q as Q, u as d1, b as $2 } from "./index-DRgQEdAt.js";
|
|
9
9
|
import { a as M2 } from "./window-CDUGRBpm.js";
|
|
10
10
|
import { s as V1, i as $1, h as x1 } from "./legacy-Djp4mfzG.js";
|
|
11
11
|
import { c as N1 } from "./index-O5kp37c8.js";
|
|
12
12
|
import { o as O1 } from "./index-client-CgOvkiBi.js";
|
|
13
13
|
function k2(e, t, a) {
|
|
14
|
-
|
|
15
|
-
var l =
|
|
14
|
+
S1(() => {
|
|
15
|
+
var l = z1(() => t(e, a == null ? void 0 : a()) || {});
|
|
16
16
|
if (l != null && l.destroy)
|
|
17
17
|
return () => (
|
|
18
18
|
/** @type {Function} */
|
|
@@ -20,7 +20,7 @@ function k2(e, t, a) {
|
|
|
20
20
|
);
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
const Z2 = () => performance.now(),
|
|
23
|
+
const Z2 = () => performance.now(), J = {
|
|
24
24
|
// don't access requestAnimationFrame eagerly outside method
|
|
25
25
|
// this allows basic testing of user code without JSDOM
|
|
26
26
|
// bunder will eval and remove ternary when the user's app is built
|
|
@@ -32,19 +32,19 @@ const Z2 = () => performance.now(), I = {
|
|
|
32
32
|
tasks: /* @__PURE__ */ new Set()
|
|
33
33
|
};
|
|
34
34
|
function D1() {
|
|
35
|
-
const e =
|
|
36
|
-
|
|
37
|
-
t.c(e) || (
|
|
38
|
-
}),
|
|
35
|
+
const e = J.now();
|
|
36
|
+
J.tasks.forEach((t) => {
|
|
37
|
+
t.c(e) || (J.tasks.delete(t), t.f());
|
|
38
|
+
}), J.tasks.size !== 0 && J.tick(D1);
|
|
39
39
|
}
|
|
40
40
|
function V2(e) {
|
|
41
41
|
let t;
|
|
42
|
-
return
|
|
42
|
+
return J.tasks.size === 0 && J.tick(D1), {
|
|
43
43
|
promise: new Promise((a) => {
|
|
44
|
-
|
|
44
|
+
J.tasks.add(t = { c: e, f: a });
|
|
45
45
|
}),
|
|
46
46
|
abort() {
|
|
47
|
-
|
|
47
|
+
J.tasks.delete(t);
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
}
|
|
@@ -66,18 +66,18 @@ function L2(e) {
|
|
|
66
66
|
function U1(e) {
|
|
67
67
|
const t = {}, a = e.split(";");
|
|
68
68
|
for (const l of a) {
|
|
69
|
-
const [
|
|
70
|
-
if (!
|
|
71
|
-
const o = L2(
|
|
69
|
+
const [w, p] = l.split(":");
|
|
70
|
+
if (!w || p === void 0) break;
|
|
71
|
+
const o = L2(w.trim());
|
|
72
72
|
t[o] = p.trim();
|
|
73
73
|
}
|
|
74
74
|
return t;
|
|
75
75
|
}
|
|
76
|
-
const
|
|
76
|
+
const C2 = (e) => e;
|
|
77
77
|
function l1(e, t, a, l) {
|
|
78
|
-
var
|
|
78
|
+
var w = (e & f2) !== 0, p = "both", o, y = t.inert, k = t.style.overflow, h, c;
|
|
79
79
|
function s() {
|
|
80
|
-
var
|
|
80
|
+
var u = b2, i = E1;
|
|
81
81
|
T1(null), F1(null);
|
|
82
82
|
try {
|
|
83
83
|
return o ?? (o = a()(t, (l == null ? void 0 : l()) ?? /** @type {P} */
|
|
@@ -85,52 +85,52 @@ function l1(e, t, a, l) {
|
|
|
85
85
|
direction: p
|
|
86
86
|
}));
|
|
87
87
|
} finally {
|
|
88
|
-
T1(
|
|
88
|
+
T1(u), F1(i);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
var f = {
|
|
92
|
-
is_global:
|
|
92
|
+
is_global: w,
|
|
93
93
|
in() {
|
|
94
|
-
t.inert = y, g1(t, "introstart"),
|
|
95
|
-
g1(t, "introend"),
|
|
94
|
+
t.inert = y, g1(t, "introstart"), h = L1(t, s(), c, 1, () => {
|
|
95
|
+
g1(t, "introend"), h == null || h.abort(), h = o = void 0, t.style.overflow = k;
|
|
96
96
|
});
|
|
97
97
|
},
|
|
98
|
-
out(
|
|
99
|
-
t.inert = !0, g1(t, "outrostart"), c = L1(t, s(),
|
|
100
|
-
g1(t, "outroend"),
|
|
98
|
+
out(u) {
|
|
99
|
+
t.inert = !0, g1(t, "outrostart"), c = L1(t, s(), h, 0, () => {
|
|
100
|
+
g1(t, "outroend"), u == null || u();
|
|
101
101
|
});
|
|
102
102
|
},
|
|
103
103
|
stop: () => {
|
|
104
|
-
|
|
104
|
+
h == null || h.abort(), c == null || c.abort();
|
|
105
105
|
}
|
|
106
106
|
}, g = (
|
|
107
107
|
/** @type {Effect} */
|
|
108
108
|
E1
|
|
109
109
|
);
|
|
110
110
|
if ((g.transitions ?? (g.transitions = [])).push(f), x2) {
|
|
111
|
-
var m =
|
|
111
|
+
var m = w;
|
|
112
112
|
if (!m) {
|
|
113
|
-
for (var
|
|
113
|
+
for (var v = (
|
|
114
114
|
/** @type {Effect | null} */
|
|
115
115
|
g.parent
|
|
116
|
-
);
|
|
117
|
-
for (; (
|
|
116
|
+
); v && (v.f & v2) !== 0; )
|
|
117
|
+
for (; (v = v.parent) && (v.f & u2) === 0; )
|
|
118
118
|
;
|
|
119
|
-
m = !
|
|
119
|
+
m = !v || (v.f & h2) !== 0;
|
|
120
120
|
}
|
|
121
|
-
m &&
|
|
122
|
-
|
|
121
|
+
m && S1(() => {
|
|
122
|
+
z1(() => f.in());
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
function L1(e, t, a, l,
|
|
126
|
+
function L1(e, t, a, l, w) {
|
|
127
127
|
var p = l === 1;
|
|
128
128
|
if (p2(t)) {
|
|
129
129
|
var o, y = !1;
|
|
130
130
|
return g2(() => {
|
|
131
131
|
if (!y) {
|
|
132
|
-
var
|
|
133
|
-
o = L1(e,
|
|
132
|
+
var u = t({ direction: p ? "in" : "out" });
|
|
133
|
+
o = L1(e, u, a, l, w);
|
|
134
134
|
}
|
|
135
135
|
}), {
|
|
136
136
|
abort: () => {
|
|
@@ -142,55 +142,55 @@ function L1(e, t, a, l, _) {
|
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
144
|
if (a == null || a.deactivate(), !(t != null && t.duration))
|
|
145
|
-
return
|
|
146
|
-
abort:
|
|
147
|
-
deactivate:
|
|
148
|
-
reset:
|
|
145
|
+
return w(), {
|
|
146
|
+
abort: Y,
|
|
147
|
+
deactivate: Y,
|
|
148
|
+
reset: Y,
|
|
149
149
|
t: () => l
|
|
150
150
|
};
|
|
151
|
-
const { delay: k = 0, css:
|
|
151
|
+
const { delay: k = 0, css: h, tick: c, easing: s = C2 } = t;
|
|
152
152
|
var f = [];
|
|
153
|
-
if (p && a === void 0 && (c && c(0, 1),
|
|
154
|
-
var g = U1(
|
|
153
|
+
if (p && a === void 0 && (c && c(0, 1), h)) {
|
|
154
|
+
var g = U1(h(0, 1));
|
|
155
155
|
f.push(g, g);
|
|
156
156
|
}
|
|
157
|
-
var m = () => 1 - l,
|
|
158
|
-
return
|
|
159
|
-
var
|
|
157
|
+
var m = () => 1 - l, v = e.animate(f, { duration: k });
|
|
158
|
+
return v.onfinish = () => {
|
|
159
|
+
var u = (a == null ? void 0 : a.t()) ?? 1 - l;
|
|
160
160
|
a == null || a.abort();
|
|
161
|
-
var
|
|
161
|
+
var i = l - u, x = (
|
|
162
162
|
/** @type {number} */
|
|
163
|
-
t.duration * Math.abs(
|
|
164
|
-
),
|
|
163
|
+
t.duration * Math.abs(i)
|
|
164
|
+
), n = [];
|
|
165
165
|
if (x > 0) {
|
|
166
|
-
var
|
|
167
|
-
if (
|
|
166
|
+
var C = !1;
|
|
167
|
+
if (h)
|
|
168
168
|
for (var L = Math.ceil(x / 16.666666666666668), M = 0; M <= L; M += 1) {
|
|
169
|
-
var d =
|
|
170
|
-
|
|
169
|
+
var d = u + i * s(M / L), V = U1(h(d, 1 - d));
|
|
170
|
+
n.push(V), C || (C = V.overflow === "hidden");
|
|
171
171
|
}
|
|
172
|
-
|
|
173
|
-
var
|
|
172
|
+
C && (e.style.overflow = "hidden"), m = () => {
|
|
173
|
+
var z = (
|
|
174
174
|
/** @type {number} */
|
|
175
175
|
/** @type {globalThis.Animation} */
|
|
176
|
-
|
|
176
|
+
v.currentTime
|
|
177
177
|
);
|
|
178
|
-
return
|
|
178
|
+
return u + i * s(z / x);
|
|
179
179
|
}, c && V2(() => {
|
|
180
|
-
if (
|
|
181
|
-
var
|
|
182
|
-
return c(
|
|
180
|
+
if (v.playState !== "running") return !1;
|
|
181
|
+
var z = m();
|
|
182
|
+
return c(z, 1 - z), !0;
|
|
183
183
|
});
|
|
184
184
|
}
|
|
185
|
-
|
|
186
|
-
m = () => l, c == null || c(l, 1 - l),
|
|
185
|
+
v = e.animate(n, { duration: x, fill: "forwards" }), v.onfinish = () => {
|
|
186
|
+
m = () => l, c == null || c(l, 1 - l), w();
|
|
187
187
|
};
|
|
188
188
|
}, {
|
|
189
189
|
abort: () => {
|
|
190
|
-
|
|
190
|
+
v && (v.cancel(), v.effect = null, v.onfinish = Y);
|
|
191
191
|
},
|
|
192
192
|
deactivate: () => {
|
|
193
|
-
|
|
193
|
+
w = Y;
|
|
194
194
|
},
|
|
195
195
|
reset: () => {
|
|
196
196
|
l === 0 && (c == null || c(1, 0));
|
|
@@ -198,13 +198,13 @@ function L1(e, t, a, l, _) {
|
|
|
198
198
|
t: () => m()
|
|
199
199
|
};
|
|
200
200
|
}
|
|
201
|
-
var
|
|
202
|
-
const
|
|
201
|
+
var I, v1, p1, m1, J1;
|
|
202
|
+
const w1 = class w1 {
|
|
203
203
|
/** @param {ResizeObserverOptions} options */
|
|
204
204
|
constructor(t) {
|
|
205
205
|
f1(this, m1);
|
|
206
206
|
/** */
|
|
207
|
-
f1(this,
|
|
207
|
+
f1(this, I, /* @__PURE__ */ new WeakMap());
|
|
208
208
|
/** @type {ResizeObserver | undefined} */
|
|
209
209
|
f1(this, v1);
|
|
210
210
|
/** @type {ResizeObserverOptions} */
|
|
@@ -216,33 +216,33 @@ const _1 = class _1 {
|
|
|
216
216
|
* @param {(entry: ResizeObserverEntry) => any} listener
|
|
217
217
|
*/
|
|
218
218
|
observe(t, a) {
|
|
219
|
-
var l = D(this,
|
|
220
|
-
return l.add(a), D(this,
|
|
221
|
-
var
|
|
222
|
-
|
|
219
|
+
var l = D(this, I).get(t) || /* @__PURE__ */ new Set();
|
|
220
|
+
return l.add(a), D(this, I).set(t, l), P1(this, m1, J1).call(this).observe(t, D(this, p1)), () => {
|
|
221
|
+
var w = D(this, I).get(t);
|
|
222
|
+
w.delete(a), w.size === 0 && (D(this, I).delete(t), D(this, v1).unobserve(t));
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
225
|
};
|
|
226
|
-
|
|
226
|
+
I = new WeakMap(), v1 = new WeakMap(), p1 = new WeakMap(), m1 = new WeakSet(), J1 = function() {
|
|
227
227
|
return D(this, v1) ?? k1(this, v1, new ResizeObserver(
|
|
228
228
|
/** @param {any} entries */
|
|
229
229
|
(t) => {
|
|
230
230
|
for (var a of t) {
|
|
231
|
-
|
|
232
|
-
for (var l of D(this,
|
|
231
|
+
w1.entries.set(a.target, a);
|
|
232
|
+
for (var l of D(this, I).get(a.target) || [])
|
|
233
233
|
l(a);
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
));
|
|
237
237
|
}, /** @static */
|
|
238
|
-
A1(
|
|
239
|
-
let
|
|
240
|
-
var
|
|
238
|
+
A1(w1, "entries", /* @__PURE__ */ new WeakMap());
|
|
239
|
+
let C1 = w1;
|
|
240
|
+
var S2 = /* @__PURE__ */ new C1({
|
|
241
241
|
box: "border-box"
|
|
242
242
|
});
|
|
243
243
|
function b1(e, t, a) {
|
|
244
|
-
var l =
|
|
245
|
-
|
|
244
|
+
var l = S2.observe(e, () => a(e[t]));
|
|
245
|
+
S1(() => (z1(() => a(e[t])), l));
|
|
246
246
|
}
|
|
247
247
|
const Z1 = (e) => {
|
|
248
248
|
const t = function(l) {
|
|
@@ -256,58 +256,58 @@ const Z1 = (e) => {
|
|
|
256
256
|
}
|
|
257
257
|
};
|
|
258
258
|
};
|
|
259
|
-
var
|
|
259
|
+
var z2 = Z('<div tabindex="-1"><!> <!></div>');
|
|
260
260
|
function t1(e, t) {
|
|
261
261
|
G(t, !0);
|
|
262
|
-
const [a, l] = u1(),
|
|
262
|
+
const [a, l] = u1(), w = () => h1(h, "$open", a);
|
|
263
263
|
let p = P(t, "class", 7), o = P(t, "autoCollapse", 7, !0), y = P(t, "button", 7), k = P(t, "children", 7);
|
|
264
|
-
const
|
|
265
|
-
B1("menu",
|
|
264
|
+
const h = W1(!1);
|
|
265
|
+
B1("menu", h);
|
|
266
266
|
const c = () => {
|
|
267
|
-
o() && H1(
|
|
267
|
+
o() && H1(h, !1);
|
|
268
268
|
};
|
|
269
|
-
var s =
|
|
270
|
-
V1(f, () => y() ??
|
|
269
|
+
var s = z2(), f = $(s);
|
|
270
|
+
V1(f, () => y() ?? Y);
|
|
271
271
|
var g = U(f, 2);
|
|
272
272
|
{
|
|
273
|
-
var m = (
|
|
274
|
-
var
|
|
275
|
-
V1(x, () => k() ??
|
|
273
|
+
var m = (u) => {
|
|
274
|
+
var i = c1(), x = a1(i);
|
|
275
|
+
V1(x, () => k() ?? Y), _(u, i);
|
|
276
276
|
};
|
|
277
|
-
|
|
278
|
-
|
|
277
|
+
j(g, (u) => {
|
|
278
|
+
w() && u(m);
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
|
-
b(s), k2(s, (
|
|
282
|
-
T(s, 1, B(p())), X(s, "data-expanded",
|
|
283
|
-
}), m2("focusoutside", s, c),
|
|
284
|
-
var
|
|
281
|
+
b(s), k2(s, (u) => Z1 == null ? void 0 : Z1(u)), S(() => {
|
|
282
|
+
T(s, 1, B(p())), X(s, "data-expanded", w());
|
|
283
|
+
}), m2("focusoutside", s, c), _(e, s);
|
|
284
|
+
var v = O({
|
|
285
285
|
get class() {
|
|
286
286
|
return p();
|
|
287
287
|
},
|
|
288
|
-
set class(
|
|
289
|
-
p(
|
|
288
|
+
set class(u) {
|
|
289
|
+
p(u), E();
|
|
290
290
|
},
|
|
291
291
|
get autoCollapse() {
|
|
292
292
|
return o();
|
|
293
293
|
},
|
|
294
|
-
set autoCollapse(
|
|
295
|
-
o(
|
|
294
|
+
set autoCollapse(u = !0) {
|
|
295
|
+
o(u), E();
|
|
296
296
|
},
|
|
297
297
|
get button() {
|
|
298
298
|
return y();
|
|
299
299
|
},
|
|
300
|
-
set button(
|
|
301
|
-
y(
|
|
300
|
+
set button(u) {
|
|
301
|
+
y(u), E();
|
|
302
302
|
},
|
|
303
303
|
get children() {
|
|
304
304
|
return k();
|
|
305
305
|
},
|
|
306
|
-
set children(
|
|
307
|
-
k(
|
|
306
|
+
set children(u) {
|
|
307
|
+
k(u), E();
|
|
308
308
|
}
|
|
309
309
|
});
|
|
310
|
-
return l(),
|
|
310
|
+
return l(), v;
|
|
311
311
|
}
|
|
312
312
|
H(
|
|
313
313
|
t1,
|
|
@@ -328,26 +328,26 @@ const N2 = (e, t, a) => {
|
|
|
328
328
|
var j2 = Z('<span class="sr-only"> </span>'), A2 = Z('<button aria-haspopup="true"><!> <!></button>');
|
|
329
329
|
function e1(e, t) {
|
|
330
330
|
G(t, !0);
|
|
331
|
-
const [a, l] = u1(),
|
|
331
|
+
const [a, l] = u1(), w = () => h1(k, "$open", a);
|
|
332
332
|
let p = P(t, "class", 7), o = P(t, "label", 7), y = P(t, "children", 7);
|
|
333
|
-
const k =
|
|
334
|
-
var
|
|
335
|
-
|
|
336
|
-
var c = $(
|
|
337
|
-
V1(c, () => y() ??
|
|
333
|
+
const k = _1("menu");
|
|
334
|
+
var h = A2();
|
|
335
|
+
h.__click = [N2, w, k];
|
|
336
|
+
var c = $(h);
|
|
337
|
+
V1(c, () => y() ?? Y);
|
|
338
338
|
var s = U(c, 2);
|
|
339
339
|
{
|
|
340
340
|
var f = (m) => {
|
|
341
|
-
var
|
|
342
|
-
b(
|
|
341
|
+
var v = j2(), u = $(v, !0);
|
|
342
|
+
b(v), S(() => A(u, o())), _(m, v);
|
|
343
343
|
};
|
|
344
|
-
|
|
344
|
+
j(s, (m) => {
|
|
345
345
|
o() && m(f);
|
|
346
346
|
});
|
|
347
347
|
}
|
|
348
|
-
b(
|
|
349
|
-
T(
|
|
350
|
-
}),
|
|
348
|
+
b(h), S(() => {
|
|
349
|
+
T(h, 1, B(p())), X(h, "aria-expanded", w());
|
|
350
|
+
}), _(e, h);
|
|
351
351
|
var g = O({
|
|
352
352
|
get class() {
|
|
353
353
|
return p();
|
|
@@ -370,9 +370,9 @@ function e1(e, t) {
|
|
|
370
370
|
});
|
|
371
371
|
return l(), g;
|
|
372
372
|
}
|
|
373
|
-
|
|
373
|
+
w2(["click"]);
|
|
374
374
|
H(e1, { class: {}, label: {}, children: {} }, [], [], !0);
|
|
375
|
-
const
|
|
375
|
+
const K1 = [
|
|
376
376
|
{
|
|
377
377
|
text: "About",
|
|
378
378
|
href: "https://uoguelph.ca/about"
|
|
@@ -393,11 +393,11 @@ const J1 = [
|
|
|
393
393
|
text: "Student Life",
|
|
394
394
|
href: "https://www.uoguelph.ca/studentexperience/"
|
|
395
395
|
}
|
|
396
|
-
],
|
|
396
|
+
], Q1 = {
|
|
397
397
|
text: "Search the University of Guelph",
|
|
398
398
|
href: "https://uoguelph.ca/search",
|
|
399
399
|
icon: y2
|
|
400
|
-
},
|
|
400
|
+
}, Y1 = [
|
|
401
401
|
{
|
|
402
402
|
text: "Give",
|
|
403
403
|
href: "https://bbis.alumni.uoguelph.ca/BBIS_Cannon/give/uofg"
|
|
@@ -436,7 +436,7 @@ const J1 = [
|
|
|
436
436
|
href: "https://uoguelph.ca/apply/",
|
|
437
437
|
highlight: !0
|
|
438
438
|
}
|
|
439
|
-
],
|
|
439
|
+
], I1 = {
|
|
440
440
|
text: "Account Menu",
|
|
441
441
|
items: [
|
|
442
442
|
{
|
|
@@ -460,28 +460,28 @@ const J1 = [
|
|
|
460
460
|
href: "https://gryphlife.uoguelph.ca/"
|
|
461
461
|
}
|
|
462
462
|
],
|
|
463
|
-
icon:
|
|
463
|
+
icon: _2
|
|
464
464
|
};
|
|
465
465
|
function P2(e) {
|
|
466
466
|
const t = e - 1;
|
|
467
467
|
return t * t * t + 1;
|
|
468
468
|
}
|
|
469
|
-
function s1(e, { delay: t = 0, duration: a = 400, easing: l = P2, axis:
|
|
470
|
-
const p = getComputedStyle(e), o = +p.opacity, y =
|
|
471
|
-
(
|
|
469
|
+
function s1(e, { delay: t = 0, duration: a = 400, easing: l = P2, axis: w = "y" } = {}) {
|
|
470
|
+
const p = getComputedStyle(e), o = +p.opacity, y = w === "y" ? "height" : "width", k = parseFloat(p[y]), h = w === "y" ? ["top", "bottom"] : ["left", "right"], c = h.map(
|
|
471
|
+
(i) => (
|
|
472
472
|
/** @type {'Left' | 'Right' | 'Top' | 'Bottom'} */
|
|
473
|
-
`${
|
|
473
|
+
`${i[0].toUpperCase()}${i.slice(1)}`
|
|
474
474
|
)
|
|
475
|
-
), s = parseFloat(p[`padding${c[0]}`]), f = parseFloat(p[`padding${c[1]}`]), g = parseFloat(p[`margin${c[0]}`]), m = parseFloat(p[`margin${c[1]}`]),
|
|
475
|
+
), s = parseFloat(p[`padding${c[0]}`]), f = parseFloat(p[`padding${c[1]}`]), g = parseFloat(p[`margin${c[0]}`]), m = parseFloat(p[`margin${c[1]}`]), v = parseFloat(
|
|
476
476
|
p[`border${c[0]}Width`]
|
|
477
|
-
),
|
|
477
|
+
), u = parseFloat(
|
|
478
478
|
p[`border${c[1]}Width`]
|
|
479
479
|
);
|
|
480
480
|
return {
|
|
481
481
|
delay: t,
|
|
482
482
|
duration: a,
|
|
483
483
|
easing: l,
|
|
484
|
-
css: (
|
|
484
|
+
css: (i) => `overflow: hidden;opacity: ${Math.min(i * 20, 1) * o};${y}: ${i * k}px;padding-${h[0]}: ${i * s}px;padding-${h[1]}: ${i * f}px;margin-${h[0]}: ${i * g}px;margin-${h[1]}: ${i * m}px;border-${h[0]}-width: ${i * v}px;border-${h[1]}-width: ${i * u}px;min-${y}: 0`
|
|
485
485
|
};
|
|
486
486
|
}
|
|
487
487
|
function o1(e) {
|
|
@@ -508,76 +508,76 @@ function X1(e, t) {
|
|
|
508
508
|
}
|
|
509
509
|
})();
|
|
510
510
|
$1();
|
|
511
|
-
var l = H2(),
|
|
512
|
-
W(
|
|
511
|
+
var l = H2(), w = $(l);
|
|
512
|
+
W(w, 5, () => [...Y1, I1], (p) => p.text, (p, o) => {
|
|
513
513
|
var y = W2(), k = $(y);
|
|
514
514
|
{
|
|
515
|
-
var
|
|
515
|
+
var h = (s) => {
|
|
516
516
|
const f = F(() => a.menu());
|
|
517
517
|
t1(s, {
|
|
518
518
|
get class() {
|
|
519
519
|
return r(f);
|
|
520
520
|
},
|
|
521
521
|
button: (m) => {
|
|
522
|
-
const
|
|
522
|
+
const v = F(() => a.menuButton({ hasIcon: !!r(o).icon }));
|
|
523
523
|
e1(m, {
|
|
524
524
|
get class() {
|
|
525
|
-
return r(
|
|
525
|
+
return r(v);
|
|
526
526
|
},
|
|
527
527
|
get label() {
|
|
528
528
|
return r(o).text;
|
|
529
529
|
},
|
|
530
|
-
children: (
|
|
531
|
-
var x = c1(),
|
|
530
|
+
children: (u, i) => {
|
|
531
|
+
var x = c1(), n = a1(x);
|
|
532
532
|
{
|
|
533
|
-
var
|
|
533
|
+
var C = (M) => {
|
|
534
534
|
q(M, {
|
|
535
535
|
get icon() {
|
|
536
536
|
return r(o).icon;
|
|
537
537
|
}
|
|
538
538
|
});
|
|
539
539
|
}, L = (M) => {
|
|
540
|
-
var d = E2(), V = a1(d),
|
|
540
|
+
var d = E2(), V = a1(d), z = $(V, !0);
|
|
541
541
|
b(V);
|
|
542
|
-
var
|
|
543
|
-
q(
|
|
542
|
+
var N = U(V, 2);
|
|
543
|
+
q(N, { icon: y1 }), S(() => A(z, r(o).text)), _(M, d);
|
|
544
544
|
};
|
|
545
|
-
|
|
546
|
-
r(o).icon ? M(
|
|
545
|
+
j(n, (M) => {
|
|
546
|
+
r(o).icon ? M(C) : M(L, !1);
|
|
547
547
|
});
|
|
548
548
|
}
|
|
549
|
-
|
|
549
|
+
_(u, x);
|
|
550
550
|
},
|
|
551
551
|
$$slots: { default: !0 }
|
|
552
552
|
});
|
|
553
553
|
},
|
|
554
|
-
children: (m,
|
|
555
|
-
var
|
|
556
|
-
W(
|
|
557
|
-
var
|
|
554
|
+
children: (m, v) => {
|
|
555
|
+
var u = U2();
|
|
556
|
+
W(u, 5, () => r(o).items, (i) => i.text, (i, x) => {
|
|
557
|
+
var n = F2(), C = $(n);
|
|
558
558
|
{
|
|
559
559
|
var L = (M) => {
|
|
560
560
|
var d = T2();
|
|
561
561
|
let V;
|
|
562
|
-
var
|
|
563
|
-
b(d),
|
|
564
|
-
(
|
|
562
|
+
var z = $(d, !0);
|
|
563
|
+
b(d), S(
|
|
564
|
+
(N) => {
|
|
565
565
|
V = r1(d, V, {
|
|
566
566
|
...r(x).attributes,
|
|
567
567
|
href: r(x).href,
|
|
568
|
-
class:
|
|
569
|
-
}), A(
|
|
568
|
+
class: N
|
|
569
|
+
}), A(z, r(x).text);
|
|
570
570
|
},
|
|
571
571
|
[() => a.menuItem()],
|
|
572
572
|
F
|
|
573
|
-
),
|
|
573
|
+
), _(M, d);
|
|
574
574
|
};
|
|
575
|
-
|
|
575
|
+
j(C, (M) => {
|
|
576
576
|
"href" in r(x) && M(L);
|
|
577
577
|
});
|
|
578
578
|
}
|
|
579
|
-
b(
|
|
580
|
-
}), b(
|
|
579
|
+
b(n), _(i, n);
|
|
580
|
+
}), b(u), S((i) => T(u, 1, i), [() => B(a.menuContent())], F), l1(3, u, () => s1, () => ({ duration: 200, easing: o1 })), _(m, u);
|
|
581
581
|
},
|
|
582
582
|
$$slots: { button: !0, default: !0 }
|
|
583
583
|
});
|
|
@@ -585,11 +585,11 @@ function X1(e, t) {
|
|
|
585
585
|
var f = B2();
|
|
586
586
|
let g;
|
|
587
587
|
var m = $(f, !0);
|
|
588
|
-
b(f),
|
|
589
|
-
(
|
|
588
|
+
b(f), S(
|
|
589
|
+
(v) => {
|
|
590
590
|
g = r1(f, g, {
|
|
591
591
|
...r(o).attributes,
|
|
592
|
-
class:
|
|
592
|
+
class: v,
|
|
593
593
|
href: r(o).href
|
|
594
594
|
}), A(m, r(o).text);
|
|
595
595
|
},
|
|
@@ -597,30 +597,30 @@ function X1(e, t) {
|
|
|
597
597
|
() => a.link({ highlight: r(o).highlight })
|
|
598
598
|
],
|
|
599
599
|
F
|
|
600
|
-
),
|
|
600
|
+
), _(s, f);
|
|
601
601
|
};
|
|
602
|
-
|
|
603
|
-
"items" in r(o) ? s(
|
|
602
|
+
j(k, (s) => {
|
|
603
|
+
"items" in r(o) ? s(h) : s(c, !1);
|
|
604
604
|
});
|
|
605
605
|
}
|
|
606
|
-
b(y),
|
|
607
|
-
}), b(
|
|
606
|
+
b(y), _(p, y);
|
|
607
|
+
}), b(w), b(l), S(
|
|
608
608
|
(p, o) => {
|
|
609
|
-
T(l, 1, p), T(
|
|
609
|
+
T(l, 1, p), T(w, 1, o);
|
|
610
610
|
},
|
|
611
611
|
[
|
|
612
612
|
() => B(a.base()),
|
|
613
613
|
() => B(a.wrapper())
|
|
614
614
|
],
|
|
615
615
|
F
|
|
616
|
-
),
|
|
616
|
+
), _(e, l), O();
|
|
617
617
|
}
|
|
618
618
|
H(X1, {}, [], [], !0);
|
|
619
619
|
const R2 = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 90"><path fill="#e51937" d="m23.131 0 44.847 90H0V0"/><path fill="#ffc429" d="m23.131 0 16.03 32.044L55.1 0"/></svg>', q2 = '<svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 239.91 91.21"><defs><style>.cls-1{fill:#fff}</style></defs><path d="M198.95 91.21c-8.2 0-15.46-1.71-21.6-5.1-6.13-3.38-10.92-8.45-14.26-15.08-3.34-6.65-5.04-14.99-5.04-24.79s1.72-18.13 5.11-24.99c3.38-6.84 8.29-12.15 14.58-15.78C184.04 1.84 191.7 0 200.48 0c4.77 0 9.81.55 14.98 1.64 5.07 1.07 10.28 2.69 15.47 4.82l-1.11 21.16h-8.64l-1.04-5.91c-.84-4.77-4.54-8.62-9.2-9.58-3.4-.7-6.55-1.04-9.45-1.04-5.74 0-10.72 1.35-14.8 4.01s-7.26 6.64-9.45 11.83c-2.17 5.16-3.28 11.57-3.28 19.05 0 10.65 2.32 19.06 6.89 25 4.6 5.98 11.28 9.01 19.86 9.01 2.73 0 5.61-.32 8.55-.96 2.3-.5 4.73-1.17 7.23-1.98l.3-.1v-21.4l-9.48-1.36v-7.84h32.6v7.84l-9.48 1.36v28.8c-5.63 2.22-11.14 3.93-16.38 5.09-5.33 1.17-10.41 1.77-15.1 1.77ZM43.56 91.21c-6.69 0-12.25-.85-16.5-2.51-4.24-1.66-7.59-3.85-9.94-6.5-2.36-2.65-4.07-5.55-5.06-8.62-1-3.09-1.62-6.1-1.82-8.93-.21-2.85-.32-5.32-.32-7.34V11.13L0 9.14V2.03l34.49-.62v7.11l-9.92 2.67v45.16c0 2.22.11 4.43.32 6.59.21 2.18.65 4.25 1.29 6.14.65 1.92 1.69 3.66 3.08 5.17 1.4 1.53 3.3 2.72 5.64 3.55 2.32.82 5.32 1.23 8.92 1.23s6.74-.44 9.11-1.3c2.39-.87 4.35-2.12 5.83-3.74 1.47-1.6 2.57-3.47 3.27-5.56.68-2.06 1.14-4.27 1.36-6.58.21-2.31.32-4.67.32-7.03V10.95l-9.92-1.82v-7.1l34.49-.62v7.11l-9.92 2.63v44.62c0 3.85-.34 7.59-1.01 11.11-.67 3.51-1.83 6.78-3.45 9.73s-3.77 5.54-6.38 7.7-5.94 3.86-9.9 5.07c-3.97 1.21-8.7 1.82-14.05 1.82h-.01ZM103.24 63.3c-2.25 0-4.25-.41-5.94-1.22-1.66-.8-2.97-2.08-3.9-3.82-.94-1.76-1.41-4.12-1.41-7.01 0-2.35.33-4.69.99-6.95.65-2.25 1.68-4.31 3.05-6.13 1.37-1.81 3.12-3.27 5.21-4.34 2.09-1.07 4.61-1.61 7.5-1.61 2.21 0 4.2.4 5.89 1.19 1.66.78 2.98 2.06 3.92 3.82.95 1.78 1.44 4.17 1.44 7.1 0 2.35-.34 4.69-1.01 6.95-.67 2.25-1.7 4.3-3.08 6.1-1.37 1.79-3.12 3.24-5.21 4.32-2.09 1.07-4.59 1.61-7.45 1.61Zm4.41-26.17c-1.59 0-2.96.51-4.07 1.52-1.07.97-1.95 2.22-2.6 3.7-.64 1.45-1.11 3-1.4 4.59-.29 1.58-.44 3.03-.44 4.31 0 2.13.4 3.86 1.18 5.12.83 1.33 2.15 2.01 3.95 2.01 1.59 0 2.96-.51 4.07-1.52 1.07-.97 1.95-2.22 2.62-3.72.66-1.48 1.14-3.03 1.43-4.62.29-1.58.44-3.04.44-4.32 0-2.13-.4-3.85-1.18-5.1-.82-1.31-2.17-1.98-4-1.98ZM120.88 71.52c-.81 0-1.58-.05-2.29-.14-.52-.07-1-.13-1.42-.19l1.08-4.75c.19.01.39.04.59.07.39.06.78.09 1.18.09.96 0 1.83-.14 2.59-.43.77-.29 1.42-.72 1.94-1.29.51-.55.93-1.22 1.26-1.99.32-.75.56-1.63.72-2.62l3.93-24.4h-4.43l.56-3.56 4.58-1.05.44-3.02c.66-3.99 2.18-6.95 4.51-8.8 2.34-1.86 5.16-2.8 8.41-2.8 1 0 2.06.08 3.14.25.94.15 1.89.39 2.84.72l-1.6 4.61c-.52-.19-1.06-.34-1.62-.43-.71-.12-1.39-.18-2.02-.18-1.58 0-2.99.46-4.21 1.37-1.23.93-2.02 2.48-2.34 4.61l-.59 3.7h7.43l-.77 4.58h-7.37l-3.57 22.37c-.41 2.47-1.04 4.57-1.88 6.26-.83 1.68-1.84 3.05-2.99 4.08-1.15 1.02-2.43 1.77-3.8 2.23-1.38.46-2.83.69-4.3.69v.02Z" class="cls-1"/></svg>', G2 = '<svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 1345.57 436.77"><defs><style>.cls-1{fill:#fff}.cls-3{fill:#ffc429}</style></defs><path d="M389.77 356.42c-15.25 0-28.77-3.19-40.19-9.48-11.41-6.28-20.33-15.72-26.54-28.06-6.22-12.36-9.38-27.87-9.38-46.09s3.2-33.7 9.5-46.45c6.29-12.73 15.42-22.61 27.14-29.36 11.73-6.76 25.96-10.18 42.3-10.18 8.88 0 18.24 1.03 27.84 3.05 9.47 2 19.18 5.03 28.88 9.01l-2.07 39.58h-16.38l-1.96-11.13c-1.55-8.77-8.35-15.85-16.92-17.62l-.14-.03c-6.16-1.26-11.99-1.9-17.35-1.9-10.61 0-19.82 2.49-27.36 7.41-7.54 4.92-13.42 12.28-17.46 21.86-4.03 9.55-6.07 21.42-6.07 35.28 0 19.71 4.29 35.28 12.75 46.26 8.5 11.04 20.85 16.64 36.71 16.64 5.06 0 10.38-.6 15.82-1.78 4.26-.93 8.77-2.16 13.39-3.66l.42-.14v-39.4l-17.6-2.51v-14.91H466v14.91l-17.6 2.51v53.41c-10.5 4.15-20.78 7.34-30.56 9.49-9.91 2.18-19.36 3.29-28.07 3.29ZM559.23 356.42c-12.45 0-22.78-1.57-30.7-4.68-7.9-3.1-14.14-7.17-18.53-12.11-4.41-4.95-7.58-10.35-9.44-16.07-1.87-5.75-3.01-11.34-3.39-16.61-.39-5.29-.59-9.88-.59-13.64v-85.53l-18.41-3.69v-13.54l64.4-1.16v13.55l-18.41 4.95v83.64c0 4.1.2 8.21.59 12.21.39 4.03 1.2 7.85 2.39 11.34 1.2 3.53 3.11 6.74 5.67 9.53 2.57 2.82 6.07 5.01 10.4 6.53 4.28 1.51 9.83 2.28 16.49 2.28s12.47-.81 16.85-2.4c4.4-1.6 8.01-3.91 10.74-6.89 2.72-2.96 4.75-6.4 6.03-10.25 1.27-3.8 2.11-7.9 2.51-12.17.39-4.28.59-8.67.59-13.03v-81.24l-18.41-3.38v-13.53l64.4-1.16v13.55L624 207.81v82.65c0 7.16-.63 14.11-1.88 20.65-1.25 6.53-3.41 12.62-6.43 18.11-3.02 5.49-7.02 10.31-11.89 14.34-4.87 4.02-11.07 7.2-18.44 9.44-7.39 2.25-16.18 3.39-26.14 3.39ZM662.07 353.82v-13.56l18.41-4.84V208.57l-18.41-4.46v-13.56l46.38-1.16h74.1V229h-16.34l-2.98-19.82H708.3v51.23h40.62l2.7-12.84h12.88v44.8h-12.87l-2.68-12.86h-17.06l-.54-.02H708.3v54.54h57.82l3.16-21.47h16.1l-.23 41.26zM814.24 353.82v-13.55l18.41-4.75V207.74l-18.41-3.65v-13.53l66.53-1.16v13.53l-20.3 4.77v126.33h51.63l3.69-26.43h16.1v46.22zM956.71 353.82v-13.54l18.41-4.17V208.49l-18.41-4.37v-13.56l47.56-1.17h23.12c12.58 0 23.05 2.16 31.11 6.42 8.04 4.25 14.11 10.16 18.04 17.56 3.95 7.43 5.95 16.06 5.95 25.67 0 10.38-2.4 19.85-7.12 28.13-4.72 8.27-11.94 14.82-21.45 19.46-9.55 4.66-21.89 7.02-36.67 7.02h-14.3v42.57l23.6 4.09v13.51h-69.83Zm46.23-79.96h14.53c11.76 0 20.87-3.12 27.1-9.26s9.39-14.51 9.39-24.85c0-9.55-2.64-17.15-7.84-22.6-5.21-5.45-13.02-8.21-23.21-8.21h-19.96v64.92ZM1197.53 353.82v-13.54l18.41-4.18v-56.14h-74.15v56.14l18.41 4.18v13.54h-64.63v-13.54l18.41-4.13v-128.3l-18.41-3.75v-13.54l64.63-1.16v13.54l-18.41 4.79v52.45h74.15v-52.24l-18.41-3.84v-13.54l64.4-1.16v13.55l-18.41 4.9v128.3l18.41 4.13v13.54zM349.81 147.59c-4.96 0-9.03-.62-12.12-1.83-3.07-1.21-5.48-2.78-7.17-4.68-1.7-1.91-2.94-3.99-3.67-6.18-.74-2.23-1.19-4.39-1.34-6.43-.15-2.06-.23-3.85-.23-5.3V91.15l-6.76-1.8v-5.52l25.29-.44v5.53l-6.67 2.3v31.94c0 1.6.08 3.18.23 4.68.15 1.53.46 2.96.9 4.25a9.646 9.646 0 0 0 2.1 3.51c.94 1.01 2.23 1.8 3.81 2.35 1.55.54 3.5.81 5.82.81s4.38-.29 5.96-.86c1.61-.58 2.93-1.42 3.94-2.49 1-1.07 1.75-2.32 2.23-3.74.47-1.38.79-2.92.94-4.57.15-1.64.23-3.36.23-5.13V91.04l-6.76-1.71v-5.51l25.29-.44v5.53l-6.67 2.25v30.81c0 3.05-.29 5.91-.85 8.51-.56 2.58-1.48 4.95-2.72 7.04-1.23 2.09-2.84 3.9-4.78 5.4-1.94 1.5-4.35 2.66-7.15 3.46-2.83.8-6.14 1.21-9.84 1.21ZM450.26 146.5l-25.6-46.87-1.14.29v39.06l6.76 2v5.52h-23.1v-5.52l6.76-2V91.11l-6.76-1.77v-5.52l21.34-.43 25.05 45.7 1.14-.29V91.1l-6.67-1.76v-5.51l23.01-.44v5.53l-6.67 2.19v55.39zM499 146.5v-5.52l6.76-1.94V91.18L499 89.35v-5.52l25.3-.44v5.53l-6.68 2.27v47.82l6.68 1.97v5.52zM574.65 146.59l-18.8-55.67-5.71-1.57v-5.52l25.84-.44v5.51l-6.8 1.94 13.09 44.04 14.42-43.75-6.79-1.79v-5.51l23.19-.44v5.51l-5.62 1.69-19.79 56zM754.92 146.5l-8.06-17.29c-1.1-2.32-2.07-4.14-2.87-5.41-.86-1.35-1.94-2.3-3.21-2.8-1.1-.44-2.58-.65-4.51-.65-.25 0-.5 0-.76.01h-3.15v18.62l7.5 2v5.51h-26.12v-5.52l6.76-1.91V91.18l-6.76-1.84v-5.52l19.79-.44h8.85c7.13 0 12.57 1.49 16.16 4.43 3.55 2.91 5.35 7.18 5.35 12.69 0 4.94-1.53 9.07-4.54 12.29-2.25 2.4-5.52 4.13-9.73 5.14l-2.19.53 2.16.64c.41.12.79.26 1.14.41 1.43.63 2.64 1.52 3.57 2.62.97 1.15 1.88 2.54 2.71 4.14l6.76 13.01 5.14 1.68v5.53h-14Zm-22.56-33.97h6c4.39 0 7.75-.94 9.98-2.79 2.27-1.88 3.42-4.68 3.42-8.33 0-3.08-.92-5.53-2.74-7.29-1.82-1.75-4.6-2.64-8.28-2.64h-8.38v21.04ZM817.68 147.69c-3.18 0-6.48-.32-9.8-.95-3.19-.6-6.38-1.51-9.5-2.7l.43-16.34h6.49l1.57 9.06.3.13c1.63.69 3.32 1.24 5.04 1.62 2.07.47 4.13.7 6.12.7 2.31 0 4.46-.32 6.4-.94 1.99-.64 3.59-1.65 4.75-3.02 1.19-1.39 1.79-3.12 1.79-5.15s-.64-3.75-1.9-5.08c-1.21-1.27-2.87-2.35-4.91-3.2a71.79 71.79 0 0 0-6.5-2.31 94.22 94.22 0 0 1-6.95-2.41c-2.3-.89-4.44-2.04-6.36-3.4-1.9-1.34-3.42-3.07-4.52-5.14-1.1-2.06-1.66-4.72-1.66-7.89 0-4.17 1-7.63 2.99-10.28 1.99-2.67 4.73-4.71 8.15-6.06 3.45-1.37 7.4-2.06 11.75-2.06 3.11 0 6.39.33 9.75.99 3.22.63 6.49 1.58 9.72 2.82l-.94 14.98h-6.7l-1.69-8.79-.33-.11c-1.35-.46-2.53-.78-3.71-1a28.56 28.56 0 0 0-5.37-.51c-2.12 0-4.11.27-5.93.8-1.86.55-3.38 1.43-4.52 2.63-1.17 1.24-1.77 2.87-1.77 4.85s.68 3.56 2.02 4.83c1.26 1.2 2.92 2.24 4.93 3.09 1.96.83 4.16 1.63 6.54 2.39 2.34.75 4.7 1.61 6.99 2.54 2.26.92 4.38 2.1 6.32 3.49 1.9 1.37 3.44 3.13 4.57 5.23 1.13 2.09 1.71 4.76 1.71 7.94 0 4.34-1.14 7.97-3.39 10.77-2.27 2.83-5.33 4.96-9.11 6.34-3.82 1.4-8.11 2.11-12.77 2.11ZM874.38 146.5v-5.52l6.76-1.94V91.18l-6.76-1.83v-5.52l25.29-.44v5.53L893 91.19v47.82l6.67 1.97v5.52zM939.78 146.5V141l7.77-1.96V91.58h-10.97l-1.92 9.05h-6.67V83.38h51.07v17.25h-6.67l-1.87-9.05H959.5v47.44l7.77 1.98v5.5zM1021.44 146.5v-5.52l7.04-2.05v-14.91l-17.21-33-5.46-1.66v-5.53l24.29-.44v5.5l-6.54 1.76 11.96 25.31 12.1-24.77-6.8-1.84v-5.53l22.55-.43v5.51l-5.28 1.59-17.75 33.72v14.74l6.94 2.03v5.52zM1160.2 147.59c-5.65 0-10.61-1.22-14.73-3.62-4.11-2.39-7.33-5.98-9.59-10.66-2.26-4.7-3.41-10.61-3.41-17.56 0-5.57.73-10.52 2.16-14.7 1.43-4.16 3.47-7.67 6.08-10.43 2.61-2.75 5.74-4.86 9.33-6.25 3.6-1.4 7.66-2.11 12.07-2.11s8.32.69 11.8 2.06c3.46 1.36 6.47 3.37 8.92 5.97 2.46 2.61 4.4 5.9 5.77 9.79 1.37 3.91 2.07 8.5 2.07 13.64 0 7-1.29 13.1-3.82 18.14-2.53 5.02-6.09 8.93-10.6 11.63-4.51 2.7-9.91 4.07-16.05 4.07Zm1.37-56.47c-3.15 0-5.99.77-8.45 2.28-2.48 1.53-4.43 4.09-5.78 7.61-1.33 3.46-2.01 8.27-2.01 14.29 0 5.53.63 10.04 1.87 13.41 1.26 3.43 3.1 5.98 5.48 7.6 2.38 1.62 5.24 2.43 8.52 2.43s6-.78 8.46-2.33c2.47-1.55 4.48-4.17 5.95-7.78 1.46-3.56 2.19-8.39 2.19-14.35 0-5.53-.68-10.05-2.01-13.43-1.35-3.43-3.26-5.94-5.68-7.46-2.4-1.52-5.28-2.29-8.55-2.29ZM635.3 146.5v-5.52l6.77-1.96V91.18l-6.77-1.83v-5.53l18.97-.44h26.44v15.24h-6.67l-1.45-7.04h-18.67v18.85h4.85v-.01h8.18l1.52-5.73h5.16v19.3h-5.15l-1.51-5.73h-13.05v20.04h19.78l1.53-7.77h6.66l-.17 15.97zM1214.54 146.5v-5.52l6.76-1.98V91.22l-6.76-1.87v-5.53l18.97-.44h25.97V98.8h-6.66l-1.46-7.22h-18.2v19.21h12.35l1.57-5.91h5.38v20.05h-5.38l-1.56-5.94h-12.36v20.03l8.32 1.98v5.5z" class="cls-1"/><path d="m268.15 150.52-.05 103.74c-.07 14-.45 28.06-2.93 41.94-7.84 48.96-45.95 78.15-87.71 99.06l-1.55.78-1.55-.79c-33.52-16.93-67.62-40.42-81.52-76.9-3.96-10.21-6.2-20.85-7.45-31.63-1.25-10.8-1.51-21.74-1.54-32.55l.05-103.74 88.74.04h6.75l88.74.05Zm-6.8 96.98.04-90.23-81.99-.04-.04 90.23 81.99.04Zm-.03 6.76-81.96-.04h-6.75l-81.96-.04c.2 20.84 1.2 42.08 8.9 61.59 13.25 33.92 44.89 55.49 76.38 71.46 31.51-15.93 63.17-37.48 76.45-71.38 7.72-19.5 8.74-40.74 8.96-61.58Zm-88.71-6.8.04-90.23-81.99-.04-.04 90.23z" style="fill:#e51937"/><path d="M220.38 236.95c-.75 0-1.51-.03-2.26-.08-14.89-1.08-26.98-13.11-28.12-27.99-1.21-15.78 9.6-29.72 25.16-32.42l.41-.07.21-.81c.24-.9 1.05-1.53 1.99-1.53h.1l.38-1.09-.08-.06c-.84-.67-1.32-1.68-1.33-2.78-.02-1.86 2.85-3.2 3.56-3.5.71.3 3.55 1.63 3.56 3.51 0 1.08-.48 2.09-1.34 2.77l-.08.06.38 1.1h.1c.93 0 1.75.63 1.99 1.53l.21.81.41.07c14.62 2.55 25.22 15.18 25.22 30.03 0 16.8-13.68 30.46-30.47 30.46Zm9.47-14.84c-2.04 1.27-4.17 2.11-6.36 2.49l-.54.09v6.58l.73-.1c11.56-1.52 20.31-9.95 21.77-20.99l.1-.73h-7.35l-.09.53c-.38 2.15-1.2 4.26-2.44 6.27l-.08.12-.02 5.63h-5.56l-.16.1Zm-33.8-11.94c1.48 11.27 9.73 19.52 21 21.01l.74.1v-17.89l-10.94 10.69c-.84-1.07-1.3-2.47-1.29-3.97 0-1.73.63-3.35 1.72-4.44l6.37-6.23h-17.7l.1.73Zm26.91 9.94.81-.21c4.71-1.23 8.41-4.92 9.64-9.63l.21-.81h-10.66v10.66Zm10.95-30.47c1.87 2.4 1.69 6.29-.43 8.41l-6.37 6.23h18.45l-.1-.73c-1.48-11.32-10.43-20.27-21.75-21.78l-.74-.1v18.66l10.93-10.7Zm-16.92 4.18a13.507 13.507 0 0 0-9.65 9.64l-.21.81h10.67v-10.66l-.81.21Zm.08-12.04c-11.04 1.45-19.48 10.2-21.02 21.76l-.1.74h6.59l.09-.54c.38-2.15 1.2-4.26 2.44-6.27l.08-.12.02-5.73h5.68l.2-.09c2-1.22 4.08-2.02 6.2-2.39l.54-.09v-7.35l-.73.1ZM127.53 234.02l-7.91 3.59v-7.46h-16.39l.02-51.94 2.46-.04v-3.19c1.32.42 2.65.62 4.07.62 2.81 0 5.45-.83 8-1.63 2.54-.8 4.95-1.55 7.49-1.55 1.92 0 3.71.44 5.48 1.35l.3.15.3-.15c1.74-.89 3.51-1.33 5.39-1.33 2.55 0 4.96.77 7.51 1.58 2.55.82 5.19 1.66 7.99 1.66 1.45 0 2.81-.22 4.16-.67v3.18l3.59.04.02 51.94h-24.56v7.44l-7.91-3.6Zm3.63-2.97-.36-17.5h-6.62l-.26 17.49 3.62-1.64 3.63 1.65Zm6.54-9.48c2.4 0 4.51.75 6.74 1.54 2.29.81 4.65 1.65 7.39 1.65.72 0 1.45-.06 2.17-.18l.54-.09.02-43.11-.75.12c-.64.1-1.3.16-1.94.16-2.52 0-4.78-.8-6.97-1.58-2.24-.79-4.56-1.62-7.19-1.62-.56 0-1.12.04-1.68.11l-.56.08-.02 43.11.74-.1c.5-.07 1.01-.1 1.51-.1Zm-29 3.06.6.05c.36.03.71.04 1.06.04 3.02 0 5.61-.97 7.89-1.83l1.38-.51.02-43.18-1.78.66c-2.2.83-4.7 1.77-7.54 1.77-.3 0-.61-.01-.92-.03l-.7-.05-.02 43.09Zm15.47-16.2h6.63l.37-30.14h-7.22l.22 30.14ZM171.7 369.56c-8.06-3.06-16-10.38-20.31-16.31l-.64-.88-.71.81c-2.28 2.6-3.01 3.93-3.94 5.61-.25.46-.5.9-.79 1.39l-2.32-3.26c-4.6-6.49-6.76-13.08-7.63-16.42l-.12-.44-.43-.15c-11.42-4.02-13.17-10.49-14.07-14.05l.25-.12c1.75-.83 3.57-1.69 5.28-2.71l.64-.38-.28-.69c-5.28-12.95-4.27-25.92 2.87-36.54 7.33-10.92 20.07-17.7 33.23-17.7s23.86 6.24 31.64 17.56l.38.56.63-.24c7.64-2.85 12.42-8.14 16.64-12.8 5.09-5.62 9.48-10.47 17.55-10.47 3.01 0 6.33.66 10.16 2.02l3.15 1.14c-7.59 9.78-10.63 21.11-13.58 32.07-4.6 17.09-8.94 33.24-30.09 41l-.92.34.44.87c.97 1.9 2.5 4.39 4.69 7.61-6.78 6.96-17.49 7.72-21.79 7.72-2.96 0-5.8-.31-8.01-.88l-.96-.25-.11.99c-.79 6.94-.79 9.03-.8 11.92 0 .81 0 1.65-.02 2.67Zm-20-24.8c.44.62.85 1.25 1.28 1.89 2.29 3.44 4.89 7.33 12.47 13.67l1.32 1.11.1-1.72c.19-3.3.85-7.83 1.76-12.15l2.73.86s4.98 1.54 11.17 1.54c5.22 0 9.67-1.08 13.23-3.22l.75-.45-.45-.75c-.88-1.44-1.63-2.8-2.24-4.04l-.52-1.06-.85.82c-2.43 2.32-5.78 3.6-9.42 3.6-6.39 0-12.18-3.79-14.1-9.21l-.16-.46-3.34-.71-.07 1c-.27 4.11-2.71 8.34-3.84 10.1-3.45-2.75-7.73-9.29-7.78-9.36l-.31-.48-.56.09c-1.16.2-3.34 1.86-4.64 2.93-.67-2.61-.65-5.88-.57-7.63l.04-.81-.8-.09c-4.32-.5-8.17-3.08-10.3-6.9l-.52-.93-.81.69c-1.96 1.68-4.35 3.3-7.1 4.81l-.79.43.46.77c1.68 2.8 6.25 5.96 11.75 6.63.09.43.16.85.23 1.25.51 2.85.95 5.32 4.74 12.85l.59 1.18.85-1.01c1.35-1.61 4.02-3.84 5.69-5.22Zm31.18-4.98c4.33 0 7.9-2.82 9.09-7.2 1.19-4.35-.45-8.58-4.17-10.78l-.46-.27-.45.29c-2.08 1.36-4.17 5.17-5.05 6.91-2.64-2.34-4.76-6.59-4.76-6.59l-.09.07c-3.41 2.36-4.77 6.57-3.47 10.72 1.3 4.15 4.83 6.83 9 6.83h.37Zm47.03-73.12c-7.92 0-12.2 6.56-16.33 12.91-.6.91-1.18 1.81-1.78 2.69-7.05 9.91-11.8 12.26-11.85 12.28l-.71.34.26.74c1.98 5.56 1.41 20.99-2.98 28.11l-.23.37.17.41c.68 1.67 1.35 4.28 1.33 6.33v.98l.96-.11c6.9-.78 14.03-9.07 14.47-25.82 1.31 1.06 3.32 3.16 3.7 6.25l.34 2.72 1.29-2.42c2.55-4.78 3.65-9.1 4.82-13.66.47-1.84.96-3.75 1.57-5.81l.74-2.25c2.49-7.58 5.06-15.41 9.06-22.2l.58-.99-1.11-.29c-1.5-.39-2.95-.59-4.31-.59Zm-81.44 58.52c4.57 0 8.35-3.72 8.44-8.29.06-3.2-1.69-6.12-4.57-7.62l-.7-.37-.43.67c-.79 1.24-1.96 2.49-2.65 3.19-.84-.9-2.44-2.36-4.29-2.93l-.39-.12-.34.23c-2.94 1.99-4.13 5.61-3.02 9.24 1.11 3.63 4.14 5.98 7.71 5.98h.25Zm17.42-15.99c-1.85 0-3.45.8-4.51 2.26l-.27.37.15.43c.73 2.04.95 4.42.61 6.53l-.07.46.34.32c1.03.96 2.34 1.47 3.78 1.47a6.3 6.3 0 0 0 4.46-1.87c1.06-1.08 1.64-2.49 1.61-3.98.08-1.5-.44-2.9-1.5-4.02-1.16-1.22-2.88-1.95-4.6-1.95Zm-4.45-35.77c-10.54 0-20.52 5.49-26.7 14.68-6.15 9.15-7.45 20.43-3.48 30.17l.46 1.13.92-.81c.97-.85 1.7-1.65 2.16-2.38l.11-.17.03-.27c.26-7.76 7.43-12.57 13.92-12.57 3.24 0 6.16 1.13 8.46 3.25l.58.54.59-.52c1.02-.9 2.17-1.61 3.41-2.1l.59-.23-.05-.63c-.47-6.56 4.48-12.41 11.03-13.05l2.34-.23-1.92-1.34c-3.92-2.74-8.64-4.19-13.66-4.19-3.6 0-7.16.71-10.58 2.13 3.61-3.76 8.42-5.74 13.96-5.74 8.46 0 17.19 4.65 22.22 11.86 4.64 6.63 5.59 14.66 2.69 22.59l-.27.75.72.34c.93.43 1.81.96 2.61 1.57l.92.7.42-1.07c3.78-9.75 2.34-20.96-3.84-29.99-6.16-9-16.07-14.37-26.49-14.38-.36-.01-.75-.02-1.14-.02Zm9.23 23.38c-2.04 1.39-3.23 3.77-3.13 6.2l.03.68.67.13c3.2.62 6 2.59 7.68 5.4l.34.56.63-.17c2.83-.76 4.78-3.29 4.97-6.45.19-3.16-1.44-5.91-4.16-7.01l-.65-.26-.39.57c-.98 1.44-1.82 3-2.27 3.89-.94-.84-1.77-1.93-2.46-3.25l-.45-.87-.81.55ZM244.04 132l-32.21-.02c-.03-2.59-1.28-3.52-2.92-4.02-1.53-.47-3.44-1.05-4.23-3.49-1.01-3.1 1.35-9.7 5.49-19.36l.3-.51s1.32-.02 2.59-.49l.45-.17.38.3c10.51 8.26 10.18 11.14 8.55 14.31-.65 1.26-1.21 2.36.07 4.51.4-.38.77-.73 1.12-1.07 1.82-1.76 3.03-2.92 4.72-2.92 1.19 0 2.44.59 4.18 1.98l.21.2.07.2c.61 1.86.75 4.35.78 5.81 1.1-.62 2.8-1.8 3.37-3.45l.75-2.19.88 2.14c.38.93.68 1.93.9 2.97 1.73-2.16 2.4-4.08 2-5.72-.46-1.89-1.54-2.62-3.49-3.94-.94-.64-2.01-1.37-3.25-2.39-4.24-3.5-8.78-11.49-10.11-17.82l-.2-.94.95-.1c1.73-.19 2.64-1.23 3.05-1.89-1.39-1.45-4.49-6.33-4.98-12.58-.71-8.99 2.92-10.84 3.08-10.91.08-.04 2.06-.88 4.14-.88 2.29 0 3.87 1 4.59 2.91 3.45-3.71 5.02-6.53 4.67-8.41-.36-1.9-2.74-2.95-5.25-4.07l-.81-.39-.12-.19c-1.71-2.84-4.97-4.79-8.75-7.04-3.99-2.39-8.51-5.09-11.92-9.46-1.27 1.6-1.64 3.54-1.64 3.56l-.16.86-.86-.16c-.15-.03-3.55-.7-7-4.1-2.37 4.05-2.48 10.6 1.89 15.44l.31.34c-1.03 2.84-4.2 5.32-4.2 5.32l-.43-.77c-.63-1.13-1.21-2.19-1.76-3.2-4.21-7.75-6.32-11.64-16.32-13.06-2.85-.4-6.2-.8-9.76-1.21-10.67-1.25-23.94-2.79-36.71-6.1-.98 2.51-1.34 5.56-1.34 5.59l-.09.82-.82-.05c-4.78-.27-11.39-.91-14.77-1.67-1.08 10.78 7.28 14.69 7.64 14.85l.44.2.07.47c.8 5.71 5.12 8.57 5.16 8.6l.34.22.05.4c.65 5.06 5.58 7.33 5.63 7.35l2.2.98-2.32.64c-8.82 2.44-15.15 12.78-20.73 21.01-5.59 8.25-10.88 16.05-17.95 16.05-1.4 0-2.84-.31-4.3-.93 0 2.01.32 5.48 2.35 7.69 1.25 1.36 3.04 2.05 5.29 2.05 6.71-.02 12.03-7.71 17.17-15.15 4.5-6.5 8.75-12.64 14-14.11l.93-.26.16.95c.06.39 1.48 9.72-8.75 16.64l.43 19.76h-20.95c-1.14-.01-2.61 1.41-2.61 3.15v3.19l144.3.07v-3.19c0-1.75-1.46-3.16-3.94-3.17Zm-79.82-4.29c-1.18-.36-2.39-.74-2.95-2.03-3.11-7.27-.09-9.66 3.41-12.42 2.76-2.17 5.88-4.63 6.87-10.34l.12-.72h.73c1.72 0 15.56 2.38 17.91 2.87l.45.09.18.43c.12.29 1.21 2.92 2.12 4.51l.67 1.17-1.35.12c-.49.04-1.01.07-1.55.07-1.54 0-2.98-.18-3.98-.34.81 2.94 3.12 4.55 5.37 6.12 2.34 1.63 4.55 3.17 4.34 6-.2 2.59-1.95 4.11-3.49 5.45-.88.76-1.79 2.24-2.35 3.29h-22.97c-.35-2.73-1.86-3.75-3.53-4.26Zm-29.81-15.36c8.67-7.38 7.08-19.41 6.63-21.95l-5.86-2.47.59-.87c4.62-6.85 16.21-8.73 25.79-8.73 4.66 0 9.45.24 14.13.47 4.26.21 8.29.41 11.88.41 1.19 0 2.24-.02 3.23-.06-2.23-2.46-8.97-3.68-31.2-4.19-12.12-.28-20.12.25-20.99-4.81l-.18-1.04 49.47 1.37c-2.26-2.1-8.73-3.2-23.7-3.89-2.38-.11-4.65-.2-6.79-.28-14.86-.59-23.83-.23-24.6-5.51l-.15-1.03 51.49 1.92c-2.84-2.69-10.55-3.7-20.3-4.07-1.28-.05-2.61-.1-3.96-.16l-3.31-.14c-17.9-.74-30.84-.56-32.11-7.24l-.23-1.22 1.23.2c5.52.92 19.8 1.53 32.4 2.06l2.18.09c2.49.11 5.28.16 8.01.22 6.17.13 12.54.26 16.03.98 9.07 1.89 14.07 15.9 15.49 20.53 2.74-2.62 8.94-8.84 11.5-13.93-1.37-1.08-4.22-3.88-3.53-7.9l.2-1.18 1.06.56c1.57.83 4.32 1.65 7.22 2.51 6.32 1.88 13.48 4.02 15.47 7.9l.33.63-.56.44c-.83.66-1.59 1.48-2.41 2.33-5.97 6.23-11.17 4.14-11.17 4.14-.07 2.44 3.14 2.96 3.14 2.96s-1.02 2.17-.93 7.44c.02 1.08.08 3.17.14 4.27.35 6.55.72 13.33-7.37 16.62l-1.61.65.44-1.68c1.14-4.3-.16-6.44-1.15-7.39-1.25 3.55-6.63 18.81-8.29 23.82l-.46 1.41-1-1.1c-5.79-6.34-10.25-22.73-11.16-26.25h-.66c-1.79 0-5.32-.09-9.06-.68 1.39 4.47 6.02 5.12 6.22 5.15l.57.07.16.55c.46 1.6 1.64 4.29 1.65 4.31l.51 1.17-1.28.05h-.34c-1.95 0-5.16-.55-8.55-1.12-3.83-.65-7.8-1.33-10.45-1.33h-.85l-.02-.85c-.08-3.65-1.9-5.29-3.11-5.97-.99 13.22-10.25 20.63-29.13 23.31l-2.96.42 2.28-1.94Zm3.26 14.61-.7-.04-.11-.69c-1.15-7.53 2.29-8.3 6.27-9.2 1.6-.36 3.41-.77 5.18-1.68l.93-.48.3 1.01c2.48 8.41 1.54 14.2 1.06 16.08h-9.04c-.5-1.84-1.61-4.84-3.91-4.99Z" class="cls-3"/><path d="M221.97 63.36c-.61 0-1.23-.15-1.86-.45-2.77-1.32-2.8-4.08-2.77-4.73 7.2 1.34 8.29 2.7 8.44 2.96-.25.35-1.66 2.22-3.81 2.22Z" class="cls-3"/></svg>';
|
|
620
620
|
var O2 = Z('<div aria-hidden="true"><!></div>'), D2 = Z('<div><!> <a href="https://www.uoguelph.ca" aria-label="University of Guelph Home Page"><!></a></div>');
|
|
621
621
|
function t2(e, t) {
|
|
622
622
|
G(t, !1);
|
|
623
|
-
const [a, l] = u1(),
|
|
623
|
+
const [a, l] = u1(), w = () => h1(p, "$headerState", a), p = _1("header-state"), o = N1({
|
|
624
624
|
slots: {
|
|
625
625
|
base: "flex w-fit",
|
|
626
626
|
decoration: "left-0 h-full w-[7.5rem] min-[1320px]:absolute [&>svg]:block [&>svg]:h-full [&>svg]:w-auto",
|
|
@@ -632,47 +632,47 @@ function t2(e, t) {
|
|
|
632
632
|
mobile: { logo: "p-3" }
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
|
-
}), { base: y, decoration: k, logo:
|
|
635
|
+
}), { base: y, decoration: k, logo: h } = o();
|
|
636
636
|
$1();
|
|
637
637
|
var c = D2(), s = $(c);
|
|
638
638
|
{
|
|
639
|
-
var f = (
|
|
640
|
-
var x = O2(),
|
|
641
|
-
x1(
|
|
639
|
+
var f = (i) => {
|
|
640
|
+
var x = O2(), n = $(x);
|
|
641
|
+
x1(n, () => R2), b(x), S((C) => T(x, 1, C), [() => B(k())], F), _(i, x);
|
|
642
642
|
};
|
|
643
|
-
|
|
643
|
+
j(s, (i) => {
|
|
644
644
|
var x;
|
|
645
|
-
((x =
|
|
645
|
+
((x = w()) == null ? void 0 : x.mode) === "desktop" && i(f);
|
|
646
646
|
});
|
|
647
647
|
}
|
|
648
648
|
var g = U(s, 2), m = $(g);
|
|
649
649
|
{
|
|
650
|
-
var
|
|
651
|
-
var x = c1(),
|
|
652
|
-
x1(
|
|
653
|
-
},
|
|
654
|
-
var x = c1(),
|
|
655
|
-
x1(
|
|
650
|
+
var v = (i) => {
|
|
651
|
+
var x = c1(), n = a1(x);
|
|
652
|
+
x1(n, () => G2), _(i, x);
|
|
653
|
+
}, u = (i) => {
|
|
654
|
+
var x = c1(), n = a1(x);
|
|
655
|
+
x1(n, () => q2), _(i, x);
|
|
656
656
|
};
|
|
657
|
-
|
|
658
|
-
var x,
|
|
659
|
-
((x =
|
|
657
|
+
j(m, (i) => {
|
|
658
|
+
var x, n;
|
|
659
|
+
((x = w()) == null ? void 0 : x.mode) === "desktop" || ((n = w()) == null ? void 0 : n.variant) === "dual-brand" ? i(v) : i(u, !1);
|
|
660
660
|
});
|
|
661
661
|
}
|
|
662
|
-
b(g), b(c),
|
|
663
|
-
(
|
|
664
|
-
T(c, 1,
|
|
662
|
+
b(g), b(c), S(
|
|
663
|
+
(i, x) => {
|
|
664
|
+
T(c, 1, i), T(g, 1, x);
|
|
665
665
|
},
|
|
666
666
|
[
|
|
667
667
|
() => B(y()),
|
|
668
|
-
() => B(
|
|
668
|
+
() => B(h({ mode: w().mode }))
|
|
669
669
|
],
|
|
670
670
|
F
|
|
671
|
-
),
|
|
671
|
+
), _(e, c), O(), l();
|
|
672
672
|
}
|
|
673
673
|
H(t2, {}, [], [], !0);
|
|
674
|
-
const
|
|
675
|
-
var
|
|
674
|
+
const J2 = '<svg xmlns="http://www.w3.org/2000/svg" style="height:100%" viewBox="0 0 266.13 110.89"><defs><style>.cls-1{fill:#fff}</style></defs><path d="M45.96.24v7.91c0 2.7.79 4.18 3 4.18s3-1.8 3-4V.26h2.48v8.56c0 3.49-2.25 5.46-5.52 5.46-3.74 0-5.69-1.84-5.69-5.6V.26ZM70.04 14h-2c-2.64-3.17-5.27-6.32-7.87-9.89V14h-2.23V.24h2c2.64 3.15 5.26 6.28 7.86 9.82V.24h2.22V14ZM73.7 14.02V.24h2.78v13.78zM83.67 14 78.55.41 81.5.02c1.22 3.5 2.42 7 3.62 11 1.26-4 2.54-7.49 3.82-11l2.39.39L85.93 14ZM100.87 2.09h-4.62v3.78h4.53v1.85h-4.53v4.45h5.47v1.85h-8.25V.24h7.4zM107.31 2.09h1.44a2 2 0 0 1 2.21 2.08 2.39 2.39 0 0 1-2.52 2.49h-1.13V2.09M104.54 14h2.77V8.49h1.66l2.8 5.75 2.91-.54-3.27-5.88a4.35 4.35 0 0 0 2.32-4c0-2.34-1.77-3.6-4.41-3.6h-4.78V14ZM123.82 2.64a4.12 4.12 0 0 0-2.23-.79c-1.16 0-1.79.65-1.79 1.46s1 1.59 2.58 2.87c1.85 1.48 2.83 2.64 2.83 4.33s-1.65 3.75-4.76 3.75a6.19 6.19 0 0 1-4.06-1.38l1-1.58a4.57 4.57 0 0 0 2.81 1.1 1.92 1.92 0 0 0 2.15-1.91c0-1.51-1.85-2.52-3-3.38-1.33-1.08-2.46-1.93-2.46-3.76S118.76 0 121.26 0a5.13 5.13 0 0 1 3.49 1.2l-1 1.44ZM128.3 14.02V.24h2.78v13.78zM137.56 14.02V2.09h-4.26V.24h11.29v1.85h-4.26v11.93zM149.85 14V8.23L145.61.41l3.11-.39c1 2 1.91 4 2.88 6.36 1.06-2.38 2.14-4.37 3.21-6.36l2.28.39-4.47 7.82V14ZM171.78 12.29c-2.89 0-3.92-2.72-3.92-5.36s1.16-5 3.92-5 3.92 2.42 3.92 5-1 5.36-3.92 5.36m0 2c4.23 0 6.87-3.21 6.87-7.33a6.87 6.87 0 1 0-13.74 0c0 4.12 2.64 7.33 6.87 7.33M188.95 2.09h-4.61v4.53h4.53v1.85h-4.53v5.55h-2.78V.24h7.39zM85.26 109.31c-3-.43-3-1.21-3-7.24v-21.9c0-6 0-6.81 3-7.24l1.31-.17v-1.41h-16.2v1.41l1.38.17c2.89.43 2.89 1.21 2.89 7.24V89h-18.3v-8.87c0-6 0-6.75 2.9-7.18l1.37-.17v-1.41h-16.2v1.41l1.38.17c2.89.43 2.89 1.21 2.89 7.24v22c0 6 0 6.75-2.9 7.18l-1.37.17v1.41h16.2v-1.41l-1.37-.17c-2.9-.43-2.9-1.2-2.9-7.18V91.52h18.33v10.55c0 6 0 6.81-2.89 7.24l-1.38.17v1.41h16.2v-1.41l-1.31-.17ZM128.5 102.13l1.26-.24c1.41-.29 2.09-.63 2.33-3.93l1.65-26.61a10.55 10.55 0 0 1 2.43-.29l13 24.28 12.13-24a8.42 8.42 0 0 1 2.43-.29l1.46 26.46c.19 3.69.82 4.13 2.33 4.37l1.45.24v1.27h-13.71v-1.27l1.6-.24c2.19-.39 2.58-.58 2.48-3.79l-.63-16.7h-.1l-10.14 21.51a8.88 8.88 0 0 1-1.85.49l-11-22h-.1l-.58 16.7c-.14 3.21.3 3.36 2.47 3.79l1.61.24v1.27H128.5v-1.27ZM183.82 73.54a8.41 8.41 0 0 1 2.47-.34c3.74 0 6.31 2.28 6.31 6 0 5.24-3.29 6.26-7 6.26h-1.8V73.54Zm-9.76 29.86h12.62c7.24 0 13.79-2 13.79-9.13 0-6-5.19-7.91-8.2-8.35v-.1c2.57-.78 6.65-2.57 6.65-7.76 0-6.71-8.06-6.71-10.39-6.71h-14.47v1.27l1.16.14c2.29.44 2.29.3 2.29 5.69v17.76c0 5.49 0 5.29-2.29 5.78l-1.16.14v1.27Zm9.76-16.07h2.09c5.87 0 8.25 3.79 8.25 7.62s-1.94 6.6-6.41 6.6a11 11 0 0 1-3.93-.78V87.33ZM205.26 102.13l1.16-.14c2.29-.44 2.29-.29 2.29-5.78V78.54c0-5.48 0-5.25-2.29-5.78l-1.16-.14v-1.27h22.38a36 36 0 0 1 .58 7.87l-1.75.24c-1.26-6.17-2.86-6.26-8-6.26h-3.5v12.48h3.3c4.32 0 5-.05 5.29-2.09l.25-1.7h1.25v9.66h-1.25l-.25-1.55c-.34-2.14-1.06-2.14-5.09-2.14h-3.5v13a20.88 20.88 0 0 0 4.9.73c7.28 0 7.82-3.74 8.79-7.38l1.74.34a34.28 34.28 0 0 1-1.6 8.89h-23.54v-1.27ZM245.78 73.54a8.58 8.58 0 0 1 2.53-.34c3.89 0 6.85 2.53 6.85 7 0 2.09-.15 7.47-7 7.47h-2.38V73.54m0 16h1.56c3 0 3.15 1.8 4.86 5.05l1.84 3.59c1.07 2.14 3 5.25 7.86 5.25h4.23v-1.27a4.15 4.15 0 0 1-3.11-1.31 77.92 77.92 0 0 1-7.76-13.09c2.77-1.26 6.22-4 6.22-8.3 0-7.62-7-8.11-11.46-8.11h-14v1.27l1.11.14c2.33.34 2.33.83 2.33 5.73v17.72c0 4.86 0 5.44-2.28 5.78l-1.16.14v1.27h13.24v-1.27l-1.2-.13c-2.28-.34-2.28-.92-2.28-5.73v-6.75ZM114.97 71.43v1.44l.92.11.42.05c2.13.29 2.51.34 2.55 3.48l.2 12.44a39.67 39.67 0 0 1-.26 5c-.72 5.67-4.68 7.68-8.15 7.68-5.34 0-8.93-3.48-8.93-8.67V78.59c0-4.73 0-5.23 2.16-5.55l1.24-.16v-1.45H91.86v1.45l1.25.17c2.15.31 2.15.81 2.15 5.54v11.83c0 9.17 4.78 13.63 14.62 13.63 7.88 0 12.11-4.35 12.56-12.93l.07-2.24.29-11.76c0-3.25.69-3.56 2-3.92l1-.29v-1.48Z" class="cls-1"/><path d="M.75 61.79h264.22" style="fill:#fff;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px"/><path d="M23.67 39.89v1.42l2.88.41c1.56.28 2.34.47 2.75 1.15s.39 1.73.39 3.86v5.85h-.07a29 29 0 0 1-4.58.43 14.12 14.12 0 0 1-11.22-5c-2.83-3.36-4.33-8.26-4.33-14.16 0-5.29 1.09-9.7 3.14-12.75 2.34-3.45 5.84-5.2 10.42-5.2 4.17 0 7.32 1.26 9.34 3.75a15.88 15.88 0 0 1 2.81 6.56l.07.27 2.2-.29a38.16 38.16 0 0 0-1.31-10.1c-2.42-1.15-5.78-2.32-12.33-2.32-6.2 0-11.81 1.66-15.78 4.69a17.3 17.3 0 0 0-5.2 6.36 21.87 21.87 0 0 0-2 9.51c0 7.09 2.34 12.5 7 16.08 4 3.08 9.67 4.71 16.42 4.71a46.74 46.74 0 0 0 14.8-2.88l.28-.1-.17-1.25h-.07c-.71 0-1.19-.09-1.44-.69a12.19 12.19 0 0 1-.3-3.83c0-3.71.07-4.51 2.17-4.9l1.14-.16v-1.42ZM84.71 53.29l1.17-.14c2.28-.44 2.28-.3 2.28-5.78V29.7c0-5.49 0-5.24-2.28-5.78l-1.17-.14v-1.27h22.38a36 36 0 0 1 .58 7.87l-1.74.24c-1.27-6.16-2.87-6.26-8-6.26h-3.5v12.48h3.3c4.32 0 5-.05 5.29-2.09l.24-1.7h1.27v9.66h-1.27l-.24-1.55c-.34-2.14-1.06-2.14-5.09-2.14h-3.5v13a20.89 20.89 0 0 0 4.91.73c7.27 0 7.81-3.74 8.78-7.38l1.75.34a34.78 34.78 0 0 1-1.6 8.89h-23.6v-1.27ZM115.52 53.29l1.17-.14c2.28-.44 2.28-.25 2.28-5.78V29.55c0-4.71 0-5.29-2.28-5.63l-1.17-.14v-1.27h13.2v1.27l-1.17.14c-2.27.34-2.27.92-2.27 5.63V52a19.72 19.72 0 0 0 4.46.68c6.84 0 6.89-3.3 8.29-7.34l1.76.35a35 35 0 0 1-1.71 8.84h-22.56v-1.27ZM144.17 53.29l1.17-.14c2.28-.25 2.28-.93 2.28-5.73V29.7c0-4.76 0-5.49-2.28-5.78l-1.17-.14v-1.27h12.91c6 0 13 1.07 13 8.6 0 8.2-8 10.29-13.06 10.43V39.7c3.6-.49 6.75-2 6.75-7.91 0-5.1-3.35-7.43-7.42-7.43a9.51 9.51 0 0 0-2.39.34v22.72c0 4.8.06 5.48 2.34 5.73l1.84.14v1.27h-13.97v-1.27ZM177.83 29.7c0-4.86 0-5.44-2.28-5.78l-1.16-.14v-1.27h13.2v1.27l-1.16.14c-2.29.34-2.29.92-2.29 5.73v7.09h14.66v-7c0-4.86 0-5.44-2.28-5.78l-1.16-.14v-1.27h13.21v1.27l-1.12.14c-2.34.34-2.34.92-2.34 5.78v17.67c0 4.85 0 5.43 2.34 5.78l1.12.14v1.27h-13.21v-1.27l1.16-.14c2.28-.35 2.28-.93 2.28-5.78v-8.45h-14.66v8.5c0 4.8 0 5.38 2.29 5.73l1.16.14v1.27h-13.2v-1.27l1.16-.14c2.28-.35 2.28-.93 2.28-5.73V29.7ZM68.39 22.52V24l1.11.12h.23c2.12.29 2.5.35 2.55 3.48l.19 12.44a38 38 0 0 1-.26 5c-.72 5.67-4.68 7.69-8.15 7.69-5.34 0-8.93-3.49-8.93-8.68V29.69c0-4.74 0-5.23 2.17-5.55l1.24-.16v-1.46H45.26V24l1.25.16c2.15.32 2.15.81 2.15 5.55v11.83c0 9.16 4.79 13.62 14.63 13.62 7.88 0 12.1-4.35 12.55-12.92l.07-2.25.3-11.76c0-3.25.68-3.56 2-3.92l1-.28v-1.49Z" class="cls-1"/></svg>';
|
|
675
|
+
var K2 = Z('<a><span class="sr-only"> </span> <!></a>'), Q2 = Z("<a> </a>"), Y2 = Z("<li><!></li>"), I2 = Z("<ul></ul>");
|
|
676
676
|
function e2(e, t) {
|
|
677
677
|
G(t, !1);
|
|
678
678
|
const a = N1({
|
|
@@ -690,30 +690,30 @@ function e2(e, t) {
|
|
|
690
690
|
}
|
|
691
691
|
})();
|
|
692
692
|
$1();
|
|
693
|
-
var l =
|
|
694
|
-
W(l, 5, () => [...
|
|
695
|
-
var o =
|
|
693
|
+
var l = I2();
|
|
694
|
+
W(l, 5, () => [...K1, Q1], i1, (w, p) => {
|
|
695
|
+
var o = Y2(), y = $(o);
|
|
696
696
|
{
|
|
697
697
|
var k = (c) => {
|
|
698
|
-
var s =
|
|
698
|
+
var s = K2(), f = $(s), g = $(f, !0);
|
|
699
699
|
b(f);
|
|
700
700
|
var m = U(f, 2);
|
|
701
701
|
q(m, {
|
|
702
702
|
get icon() {
|
|
703
703
|
return r(p).icon;
|
|
704
704
|
}
|
|
705
|
-
}), b(s),
|
|
706
|
-
(
|
|
707
|
-
T(s, 1,
|
|
705
|
+
}), b(s), S(
|
|
706
|
+
(v) => {
|
|
707
|
+
T(s, 1, v), X(s, "href", r(p).href), A(g, r(p).text);
|
|
708
708
|
},
|
|
709
709
|
[
|
|
710
710
|
() => B(a.link({ hasIcon: !0 }))
|
|
711
711
|
],
|
|
712
712
|
F
|
|
713
|
-
),
|
|
714
|
-
},
|
|
715
|
-
var s =
|
|
716
|
-
b(s),
|
|
713
|
+
), _(c, s);
|
|
714
|
+
}, h = (c) => {
|
|
715
|
+
var s = Q2(), f = $(s, !0);
|
|
716
|
+
b(s), S(
|
|
717
717
|
(g) => {
|
|
718
718
|
T(s, 1, g), X(s, "href", r(p).href), A(f, r(p).text);
|
|
719
719
|
},
|
|
@@ -721,34 +721,34 @@ function e2(e, t) {
|
|
|
721
721
|
() => B(a.link({ hasIcon: !1 }))
|
|
722
722
|
],
|
|
723
723
|
F
|
|
724
|
-
),
|
|
724
|
+
), _(c, s);
|
|
725
725
|
};
|
|
726
|
-
|
|
727
|
-
r(p).icon ? c(k) : c(
|
|
726
|
+
j(y, (c) => {
|
|
727
|
+
r(p).icon ? c(k) : c(h, !1);
|
|
728
728
|
});
|
|
729
729
|
}
|
|
730
|
-
b(o), w
|
|
731
|
-
}), b(l),
|
|
730
|
+
b(o), _(w, o);
|
|
731
|
+
}), b(l), S((w) => T(l, 1, w), [() => B(a.base())], F), _(e, l), O();
|
|
732
732
|
}
|
|
733
733
|
H(e2, {}, [], [], !0);
|
|
734
734
|
var X2 = Z('<li class="contents first:*:mt-4 last:*:mb-4"><a> </a></li>'), t4 = Z('<ul class="absolute top-full right-0 z-50 flex w-full flex-col bg-white px-4 text-black shadow-md lg:w-[30rem]"></ul>'), e4 = Z('<a class="flex aspect-square h-full items-center justify-center gap-2 px-4 transition-colors hover:bg-white hover:text-black focus:bg-white focus:text-black aria-expanded:bg-white aria-expanded:text-black"><!></a>'), a4 = Z("<li><!></li>"), r4 = Z('<span><span class="mr-auto"> </span> <!></span>'), l4 = Z("<li><a> </a></li>"), s4 = Z('<ul class="flex w-full flex-col bg-white text-black [&>li]:contents"></ul>'), o4 = Z("<a> </a>"), c4 = Z("<li><!></li>"), n4 = Z('<ul class="absolute top-full right-0 z-50 flex max-h-[calc(100vh-5rem)] w-full flex-col overflow-y-auto bg-white px-4 py-3 text-black shadow-md lg:w-[30rem] [&>li]:contents"></ul>'), i4 = Z('<ul class="flex h-full [&>li]:contents"><!> <li><!></li></ul>');
|
|
735
735
|
function a2(e) {
|
|
736
|
-
const t = [...
|
|
737
|
-
var l = i4(),
|
|
738
|
-
W(
|
|
739
|
-
var
|
|
736
|
+
const t = [...K1, ...Y1], a = [I1, Q1];
|
|
737
|
+
var l = i4(), w = $(l);
|
|
738
|
+
W(w, 1, () => a, (y) => y.text, (y, k) => {
|
|
739
|
+
var h = a4(), c = $(h);
|
|
740
740
|
{
|
|
741
741
|
var s = (g) => {
|
|
742
742
|
t1(g, {
|
|
743
743
|
class: "h-full w-fit",
|
|
744
|
-
button: (
|
|
745
|
-
e1(
|
|
744
|
+
button: (v) => {
|
|
745
|
+
e1(v, {
|
|
746
746
|
class: "flex aspect-square h-full items-center justify-center gap-2 px-4 transition-colors hover:bg-white hover:text-black focus:bg-white focus:text-black aria-expanded:bg-white aria-expanded:text-black",
|
|
747
747
|
get label() {
|
|
748
748
|
return r(k).text;
|
|
749
749
|
},
|
|
750
|
-
children: (
|
|
751
|
-
q(
|
|
750
|
+
children: (u, i) => {
|
|
751
|
+
q(u, {
|
|
752
752
|
get icon() {
|
|
753
753
|
return r(k).icon;
|
|
754
754
|
}
|
|
@@ -757,232 +757,246 @@ function a2(e) {
|
|
|
757
757
|
$$slots: { default: !0 }
|
|
758
758
|
});
|
|
759
759
|
},
|
|
760
|
-
children: (
|
|
761
|
-
var
|
|
762
|
-
W(
|
|
763
|
-
var
|
|
760
|
+
children: (v, u) => {
|
|
761
|
+
var i = t4();
|
|
762
|
+
W(i, 5, () => r(k).items, i1, (x, n) => {
|
|
763
|
+
var C = X2(), L = $(C);
|
|
764
764
|
let M;
|
|
765
765
|
var d = $(L, !0);
|
|
766
|
-
b(L), b(
|
|
766
|
+
b(L), b(C), S(() => {
|
|
767
767
|
M = r1(L, M, {
|
|
768
768
|
class: "border-grey/50 hover:bg-grey-muted border-0 border-b border-solid p-2 transition-colors",
|
|
769
|
-
href: r(
|
|
770
|
-
...r(
|
|
771
|
-
}), A(d, r(
|
|
772
|
-
}),
|
|
773
|
-
}), b(
|
|
769
|
+
href: r(n).href,
|
|
770
|
+
...r(n).attributes
|
|
771
|
+
}), A(d, r(n).text);
|
|
772
|
+
}), _(x, C);
|
|
773
|
+
}), b(i), l1(3, i, () => s1, () => ({ duration: 200, easing: o1 })), _(v, i);
|
|
774
774
|
},
|
|
775
775
|
$$slots: { button: !0, default: !0 }
|
|
776
776
|
});
|
|
777
777
|
}, f = (g) => {
|
|
778
|
-
var m = e4(),
|
|
779
|
-
q(
|
|
778
|
+
var m = e4(), v = $(m);
|
|
779
|
+
q(v, {
|
|
780
780
|
get icon() {
|
|
781
781
|
return r(k).icon;
|
|
782
782
|
}
|
|
783
|
-
}), b(m),
|
|
783
|
+
}), b(m), S(() => {
|
|
784
784
|
X(m, "href", r(k).href), X(m, "aria-label", r(k).text);
|
|
785
|
-
}),
|
|
785
|
+
}), _(g, m);
|
|
786
786
|
};
|
|
787
|
-
|
|
787
|
+
j(c, (g) => {
|
|
788
788
|
"items" in r(k) ? g(s) : g(f, !1);
|
|
789
789
|
});
|
|
790
790
|
}
|
|
791
|
-
b(
|
|
791
|
+
b(h), _(y, h);
|
|
792
792
|
});
|
|
793
|
-
var p = U(
|
|
793
|
+
var p = U(w, 2), o = $(p);
|
|
794
794
|
t1(o, {
|
|
795
795
|
class: "h-full w-fit",
|
|
796
796
|
button: (k) => {
|
|
797
797
|
e1(k, {
|
|
798
798
|
class: "flex aspect-square h-full items-center justify-center gap-2 px-4 transition-colors hover:bg-white hover:text-black focus:bg-white focus:text-black aria-expanded:bg-white aria-expanded:text-black [&_svg]:aria-expanded:rotate-180",
|
|
799
799
|
label: "Main Menu",
|
|
800
|
-
children: (
|
|
801
|
-
q(
|
|
800
|
+
children: (h, c) => {
|
|
801
|
+
q(h, { icon: R1 });
|
|
802
802
|
},
|
|
803
803
|
$$slots: { default: !0 }
|
|
804
804
|
});
|
|
805
805
|
},
|
|
806
|
-
children: (k,
|
|
806
|
+
children: (k, h) => {
|
|
807
807
|
var c = n4();
|
|
808
808
|
W(c, 5, () => t, i1, (s, f) => {
|
|
809
809
|
var g = c4(), m = $(g);
|
|
810
810
|
{
|
|
811
|
-
var
|
|
812
|
-
t1(
|
|
811
|
+
var v = (i) => {
|
|
812
|
+
t1(i, {
|
|
813
813
|
class: "relative w-full",
|
|
814
814
|
autoCollapse: !1,
|
|
815
|
-
button: (
|
|
816
|
-
e1(
|
|
815
|
+
button: (n) => {
|
|
816
|
+
e1(n, {
|
|
817
817
|
class: "border-grey/50 hover:bg-grey-muted focus:bg-grey-muted aria-expanded:bg-grey-muted flex w-full items-center justify-between gap-2 border-0 border-b border-solid p-2 transition-colors [&_svg]:aria-expanded:rotate-180",
|
|
818
|
-
children: (
|
|
818
|
+
children: (C, L) => {
|
|
819
819
|
var M = r4();
|
|
820
820
|
let d;
|
|
821
|
-
var V = $(M),
|
|
821
|
+
var V = $(M), z = $(V, !0);
|
|
822
822
|
b(V);
|
|
823
|
-
var
|
|
824
|
-
q(
|
|
823
|
+
var N = U(V, 2);
|
|
824
|
+
q(N, { icon: y1 }), b(M), S(
|
|
825
825
|
(R) => {
|
|
826
|
-
d = T(M, 1, "flex w-full items-center justify-between gap-2 [&>svg]:transition-transform", null, d, R), A(
|
|
826
|
+
d = T(M, 1, "flex w-full items-center justify-between gap-2 [&>svg]:transition-transform", null, d, R), A(z, r(f).text);
|
|
827
827
|
},
|
|
828
828
|
[
|
|
829
829
|
() => ({ "bg-yellow": r(f).highlight })
|
|
830
830
|
],
|
|
831
831
|
F
|
|
832
|
-
),
|
|
832
|
+
), _(C, M);
|
|
833
833
|
},
|
|
834
834
|
$$slots: { default: !0 }
|
|
835
835
|
});
|
|
836
836
|
},
|
|
837
|
-
children: (
|
|
837
|
+
children: (n, C) => {
|
|
838
838
|
var L = s4();
|
|
839
839
|
W(L, 5, () => r(f).items, i1, (M, d) => {
|
|
840
|
-
var V = l4(),
|
|
841
|
-
let
|
|
842
|
-
var R = $(
|
|
843
|
-
b(
|
|
844
|
-
|
|
840
|
+
var V = l4(), z = $(V);
|
|
841
|
+
let N;
|
|
842
|
+
var R = $(z, !0);
|
|
843
|
+
b(z), b(V), S(() => {
|
|
844
|
+
N = r1(z, N, {
|
|
845
845
|
class: "border-grey/50 hover:bg-grey-muted border-0 border-b border-solid p-2 transition-colors",
|
|
846
846
|
href: r(d).href,
|
|
847
847
|
...r(d).attributes
|
|
848
848
|
}), A(R, r(d).text);
|
|
849
|
-
}),
|
|
850
|
-
}), b(L), l1(3, L, () => s1, () => ({ duration: 200, easing: o1 })),
|
|
849
|
+
}), _(M, V);
|
|
850
|
+
}), b(L), l1(3, L, () => s1, () => ({ duration: 200, easing: o1 })), _(n, L);
|
|
851
851
|
},
|
|
852
852
|
$$slots: { button: !0, default: !0 }
|
|
853
853
|
});
|
|
854
|
-
},
|
|
854
|
+
}, u = (i) => {
|
|
855
855
|
var x = o4();
|
|
856
|
-
let
|
|
857
|
-
var
|
|
858
|
-
b(x),
|
|
856
|
+
let n;
|
|
857
|
+
var C = $(x, !0);
|
|
858
|
+
b(x), S(
|
|
859
859
|
(L) => {
|
|
860
|
-
|
|
860
|
+
n = T(x, 1, "border-grey/50 hover:bg-grey-muted focus:bg-grey-muted border-0 border-b border-solid p-2 transition-colors", null, n, L), X(x, "href", r(f).href), A(C, r(f).text);
|
|
861
861
|
},
|
|
862
862
|
[
|
|
863
863
|
() => ({ "bg-yellow": r(f).highlight })
|
|
864
864
|
],
|
|
865
865
|
F
|
|
866
|
-
),
|
|
866
|
+
), _(i, x);
|
|
867
867
|
};
|
|
868
|
-
|
|
869
|
-
"items" in r(f) ?
|
|
868
|
+
j(m, (i) => {
|
|
869
|
+
"items" in r(f) ? i(v) : i(u, !1);
|
|
870
870
|
});
|
|
871
871
|
}
|
|
872
|
-
b(g),
|
|
873
|
-
}), b(c), l1(3, c, () => s1, () => ({ duration: 200, easing: o1 })),
|
|
872
|
+
b(g), _(s, g);
|
|
873
|
+
}), b(c), l1(3, c, () => s1, () => ({ duration: 200, easing: o1 })), _(k, c);
|
|
874
874
|
},
|
|
875
875
|
$$slots: { button: !0, default: !0 }
|
|
876
|
-
}), b(p), b(l),
|
|
876
|
+
}), b(p), b(l), _(e, l);
|
|
877
877
|
}
|
|
878
878
|
H(a2, {}, [], [], !0);
|
|
879
879
|
var v4 = Z('<a href="https://www.guelphhumber.ca" class="ml-auto h-full w-auto p-4 transition-opacity hover:opacity-75 focus:opacity-75"><span class="sr-only">University of Guelph-Humber Homepage</span> <!></a>'), u4 = Z('<nav aria-label="Primary"><!> <!></nav>');
|
|
880
880
|
function r2(e, t) {
|
|
881
881
|
G(t, !1);
|
|
882
|
-
const [a, l] = u1(),
|
|
882
|
+
const [a, l] = u1(), w = () => h1(p, "$headerState", a), p = _1("header-state");
|
|
883
883
|
$1();
|
|
884
884
|
var o = u4(), y = $(o);
|
|
885
885
|
t2(y, {});
|
|
886
886
|
var k = U(y, 2);
|
|
887
887
|
{
|
|
888
|
-
var
|
|
888
|
+
var h = (s) => {
|
|
889
889
|
var f = v4(), g = U($(f), 2);
|
|
890
|
-
x1(g, () =>
|
|
890
|
+
x1(g, () => J2), b(f), _(s, f);
|
|
891
891
|
}, c = (s, f) => {
|
|
892
892
|
{
|
|
893
|
-
var g = (
|
|
894
|
-
e2(
|
|
895
|
-
}, m = (
|
|
896
|
-
a2(
|
|
893
|
+
var g = (v) => {
|
|
894
|
+
e2(v, {});
|
|
895
|
+
}, m = (v) => {
|
|
896
|
+
a2(v);
|
|
897
897
|
};
|
|
898
|
-
|
|
898
|
+
j(
|
|
899
899
|
s,
|
|
900
|
-
(
|
|
901
|
-
var
|
|
902
|
-
((
|
|
900
|
+
(v) => {
|
|
901
|
+
var u;
|
|
902
|
+
((u = w()) == null ? void 0 : u.mode) === "desktop" ? v(g) : v(m, !1);
|
|
903
903
|
},
|
|
904
904
|
f
|
|
905
905
|
);
|
|
906
906
|
}
|
|
907
907
|
};
|
|
908
|
-
|
|
908
|
+
j(k, (s) => {
|
|
909
909
|
var f;
|
|
910
|
-
((f =
|
|
910
|
+
((f = w()) == null ? void 0 : f.variant) === "dual-brand" ? s(h) : s(c, !1);
|
|
911
911
|
});
|
|
912
912
|
}
|
|
913
|
-
b(o),
|
|
913
|
+
b(o), S(
|
|
914
914
|
(s) => T(o, 1, s),
|
|
915
915
|
[
|
|
916
916
|
() => {
|
|
917
917
|
var s;
|
|
918
|
-
return B(q1("relative flex w-full justify-between bg-black px-[calc((100%-1320px)/2)] text-lg text-black-contrast lg:h-25", ((s =
|
|
918
|
+
return B(q1("relative flex w-full justify-between bg-black px-[calc((100%-1320px)/2)] text-lg text-black-contrast lg:h-25", ((s = w()) == null ? void 0 : s.variant) === "dual-brand" ? "h-[7.5rem]" : "h-12.5"));
|
|
919
919
|
}
|
|
920
920
|
],
|
|
921
921
|
F
|
|
922
|
-
),
|
|
922
|
+
), _(e, o), O(), l();
|
|
923
923
|
}
|
|
924
924
|
H(r2, {}, [], [], !0);
|
|
925
925
|
var h4 = Z('<span class="flex items-center gap-2 [&>svg]:transition-transform"><span> </span> <!></span>'), f4 = Z("<li><a> </a></li>"), d4 = Z('<ul class="bg-grey-muted absolute top-full right-0 z-50 flex min-w-[20rem] flex-col [&>li]:contents"></ul>'), p4 = Z("<li><!></li>"), g4 = Z("<li><a> </a></li>");
|
|
926
926
|
function l2(e, t) {
|
|
927
927
|
G(t, !0);
|
|
928
928
|
let a = P(t, "items", 7);
|
|
929
|
-
var l = c1(),
|
|
930
|
-
return W(
|
|
929
|
+
var l = c1(), w = a1(l);
|
|
930
|
+
return W(w, 17, a, (p) => p.text, (p, o) => {
|
|
931
931
|
var y = c1(), k = a1(y);
|
|
932
932
|
{
|
|
933
|
-
var
|
|
933
|
+
var h = (s) => {
|
|
934
934
|
var f = p4(), g = $(f);
|
|
935
935
|
t1(g, {
|
|
936
936
|
class: "relative h-full",
|
|
937
|
-
button: (
|
|
938
|
-
e1(
|
|
937
|
+
button: (v) => {
|
|
938
|
+
e1(v, {
|
|
939
939
|
class: "flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-yellow hover:text-yellow-contrast focus:bg-yellow focus:text-yellow-contrast aria-expanded:bg-yellow aria-expanded:text-yellow-contrast [&_svg]:aria-expanded:rotate-180",
|
|
940
|
-
children: (
|
|
941
|
-
var x = h4(),
|
|
942
|
-
b(
|
|
943
|
-
var L = U(
|
|
944
|
-
q(L, { icon: y1 }), b(x),
|
|
940
|
+
children: (u, i) => {
|
|
941
|
+
var x = h4(), n = $(x), C = $(n, !0);
|
|
942
|
+
b(n);
|
|
943
|
+
var L = U(n, 2);
|
|
944
|
+
q(L, { icon: y1 }), b(x), S(() => A(C, r(o).text)), _(u, x);
|
|
945
945
|
},
|
|
946
946
|
$$slots: { default: !0 }
|
|
947
947
|
});
|
|
948
948
|
},
|
|
949
|
-
children: (
|
|
950
|
-
var
|
|
951
|
-
W(
|
|
952
|
-
var
|
|
949
|
+
children: (v, u) => {
|
|
950
|
+
var i = d4();
|
|
951
|
+
W(i, 21, () => r(o).items, i1, (x, n) => {
|
|
952
|
+
var C = f4(), L = $(C);
|
|
953
953
|
let M;
|
|
954
954
|
var d = $(L, !0);
|
|
955
|
-
b(L), b(
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
955
|
+
b(L), b(C), S(
|
|
956
|
+
(V) => {
|
|
957
|
+
M = r1(L, M, {
|
|
958
|
+
...r(n).attributes,
|
|
959
|
+
class: V,
|
|
960
|
+
href: r(n).href
|
|
961
|
+
}), A(d, r(n).text);
|
|
962
|
+
},
|
|
963
|
+
[
|
|
964
|
+
() => {
|
|
965
|
+
var V;
|
|
966
|
+
return `border-grey/50 border-0 border-b border-solid p-2 transition-colors hover:bg-yellow hover:text-yellow-contrast focus:bg-yellow focus:text-yellow-contrast ${((V = r(n).attributes) == null ? void 0 : V.class) ?? ""} uofg-header-sub-nav-item-${r(n).text.toLowerCase().replace(/ /g, "-")}`;
|
|
967
|
+
}
|
|
968
|
+
]
|
|
969
|
+
), _(x, C);
|
|
970
|
+
}), b(i), l1(3, i, () => s1, () => ({ duration: 200, easing: o1 })), _(v, i);
|
|
964
971
|
},
|
|
965
972
|
$$slots: { button: !0, default: !0 }
|
|
966
|
-
}), b(f),
|
|
973
|
+
}), b(f), _(s, f);
|
|
967
974
|
}, c = (s) => {
|
|
968
975
|
var f = g4(), g = $(f);
|
|
969
976
|
let m;
|
|
970
|
-
var
|
|
971
|
-
b(g), b(f),
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
977
|
+
var v = $(g, !0);
|
|
978
|
+
b(g), b(f), S(
|
|
979
|
+
(u) => {
|
|
980
|
+
m = r1(g, m, {
|
|
981
|
+
...r(o).attributes,
|
|
982
|
+
class: u,
|
|
983
|
+
href: r(o).href
|
|
984
|
+
}), A(v, r(o).text);
|
|
985
|
+
},
|
|
986
|
+
[
|
|
987
|
+
() => {
|
|
988
|
+
var u;
|
|
989
|
+
return `flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-yellow hover:text-yellow-contrast focus:bg-yellow focus:text-yellow-contrast ${((u = r(o).attributes) == null ? void 0 : u.class) ?? ""} uofg-header-sub-nav-item-${r(o).text.toLowerCase().replace(/ /g, "-")}`;
|
|
990
|
+
}
|
|
991
|
+
]
|
|
992
|
+
), _(s, f);
|
|
979
993
|
};
|
|
980
|
-
|
|
981
|
-
"items" in r(o) ? s(
|
|
994
|
+
j(k, (s) => {
|
|
995
|
+
"items" in r(o) ? s(h) : s(c, !1);
|
|
982
996
|
});
|
|
983
997
|
}
|
|
984
|
-
|
|
985
|
-
}),
|
|
998
|
+
_(p, y);
|
|
999
|
+
}), _(e, l), O({
|
|
986
1000
|
get items() {
|
|
987
1001
|
return a();
|
|
988
1002
|
},
|
|
@@ -992,13 +1006,14 @@ function l2(e, t) {
|
|
|
992
1006
|
});
|
|
993
1007
|
}
|
|
994
1008
|
H(l2, { items: {} }, [], [], !0);
|
|
995
|
-
var b4 = Z('<span class="flex w-full items-center justify-between gap-2"><span class="mr-auto"> </span> <!></span>'), x4 = Z("<li><a> </a></li>"), m4 = Z('<ul class="flex w-full flex-col bg-white text-black [&>li]:contents"></ul>'),
|
|
1009
|
+
var b4 = Z('<span class="flex w-full items-center justify-between gap-2"><span class="mr-auto"> </span> <!></span>'), x4 = Z("<li><a> </a></li>"), m4 = Z('<ul class="flex w-full flex-col bg-white text-black [&>li]:contents"></ul>'), w4 = Z("<a> </a>"), _4 = Z("<li><!></li>"), y4 = Z('<ul class="absolute top-full right-0 z-50 flex max-h-[calc(100vh-5rem)] w-full flex-col overflow-y-auto bg-white px-4 py-3 whitespace-normal text-black shadow-md lg:w-[30rem] [&>li]:contents"></ul>'), $4 = Z("<li><!></li>");
|
|
996
1010
|
function s2(e, t) {
|
|
997
1011
|
G(t, !0);
|
|
998
1012
|
let a = P(t, "items", 7);
|
|
999
|
-
var l = $4(),
|
|
1000
|
-
return t1(
|
|
1013
|
+
var l = $4(), w = $(l);
|
|
1014
|
+
return t1(w, {
|
|
1001
1015
|
class: "h-full",
|
|
1016
|
+
autoCollapse: !1,
|
|
1002
1017
|
button: (o) => {
|
|
1003
1018
|
e1(o, {
|
|
1004
1019
|
class: "flex aspect-square h-full items-center justify-center gap-2 px-4 transition-colors hover:bg-yellow hover:text-yellow-contrast focus:bg-yellow focus:text-yellow-contrast aria-expanded:bg-yellow aria-expanded:text-yellow-contrast",
|
|
@@ -1011,68 +1026,82 @@ function s2(e, t) {
|
|
|
1011
1026
|
},
|
|
1012
1027
|
children: (o, y) => {
|
|
1013
1028
|
var k = y4();
|
|
1014
|
-
W(k, 21, a, (
|
|
1015
|
-
var s =
|
|
1029
|
+
W(k, 21, a, (h) => h.text, (h, c) => {
|
|
1030
|
+
var s = _4(), f = $(s);
|
|
1016
1031
|
{
|
|
1017
|
-
var g = (
|
|
1018
|
-
t1(
|
|
1032
|
+
var g = (v) => {
|
|
1033
|
+
t1(v, {
|
|
1019
1034
|
class: "relative w-full",
|
|
1020
1035
|
autoCollapse: !1,
|
|
1021
|
-
button: (
|
|
1022
|
-
e1(
|
|
1036
|
+
button: (i) => {
|
|
1037
|
+
e1(i, {
|
|
1023
1038
|
class: "group border-grey/50 hover:bg-grey-muted focus:bg-grey-muted aria-expanded:bg-grey-muted flex w-full items-center justify-between gap-2 border-0 border-b border-solid p-2 transition-colors",
|
|
1024
|
-
children: (x,
|
|
1025
|
-
var
|
|
1039
|
+
children: (x, n) => {
|
|
1040
|
+
var C = b4(), L = $(C), M = $(L, !0);
|
|
1026
1041
|
b(L);
|
|
1027
1042
|
var d = U(L, 2);
|
|
1028
1043
|
q(d, {
|
|
1029
1044
|
icon: y1,
|
|
1030
1045
|
class: "transition-transform group-aria-expanded:rotate-180"
|
|
1031
|
-
}), b(
|
|
1046
|
+
}), b(C), S(() => A(M, r(c).text)), _(x, C);
|
|
1032
1047
|
},
|
|
1033
1048
|
$$slots: { default: !0 }
|
|
1034
1049
|
});
|
|
1035
1050
|
},
|
|
1036
|
-
children: (
|
|
1037
|
-
var
|
|
1038
|
-
W(
|
|
1051
|
+
children: (i, x) => {
|
|
1052
|
+
var n = m4();
|
|
1053
|
+
W(n, 21, () => r(c).items, i1, (C, L) => {
|
|
1039
1054
|
var M = x4(), d = $(M);
|
|
1040
1055
|
let V;
|
|
1041
|
-
var
|
|
1042
|
-
b(d), b(M),
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1056
|
+
var z = $(d, !0);
|
|
1057
|
+
b(d), b(M), S(
|
|
1058
|
+
(N) => {
|
|
1059
|
+
V = r1(d, V, {
|
|
1060
|
+
...r(L).attributes,
|
|
1061
|
+
class: N,
|
|
1062
|
+
href: r(L).href
|
|
1063
|
+
}), A(z, r(L).text);
|
|
1064
|
+
},
|
|
1065
|
+
[
|
|
1066
|
+
() => {
|
|
1067
|
+
var N;
|
|
1068
|
+
return `border-grey/50 hover:bg-grey-muted hover:text-grey-muted-contrast border-0 border-b border-solid p-2 transition-colors ${((N = r(L).attributes) == null ? void 0 : N.class) ?? ""} uofg-header-sub-nav-item-${r(L).text.toLowerCase().replace(/ /g, "-")}`;
|
|
1069
|
+
}
|
|
1070
|
+
]
|
|
1071
|
+
), _(C, M);
|
|
1072
|
+
}), b(n), l1(3, n, () => s1, () => ({ duration: 200, easing: o1 })), _(i, n);
|
|
1051
1073
|
},
|
|
1052
1074
|
$$slots: { button: !0, default: !0 }
|
|
1053
1075
|
});
|
|
1054
|
-
}, m = (
|
|
1055
|
-
var
|
|
1056
|
-
let
|
|
1057
|
-
var x = $(
|
|
1058
|
-
b(
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1076
|
+
}, m = (v) => {
|
|
1077
|
+
var u = w4();
|
|
1078
|
+
let i;
|
|
1079
|
+
var x = $(u, !0);
|
|
1080
|
+
b(u), S(
|
|
1081
|
+
(n) => {
|
|
1082
|
+
i = r1(u, i, {
|
|
1083
|
+
...r(c).attributes,
|
|
1084
|
+
class: n,
|
|
1085
|
+
href: r(c).href
|
|
1086
|
+
}), A(x, r(c).text);
|
|
1087
|
+
},
|
|
1088
|
+
[
|
|
1089
|
+
() => {
|
|
1090
|
+
var n;
|
|
1091
|
+
return `border-grey/50 hover:bg-grey-muted border-0 border-b border-solid p-2 transition-colors ${((n = r(c).attributes) == null ? void 0 : n.class) ?? ""} uofg-header-sub-nav-item-${r(c).text.toLowerCase().replace(/ /g, "-")}`;
|
|
1092
|
+
}
|
|
1093
|
+
]
|
|
1094
|
+
), _(v, u);
|
|
1066
1095
|
};
|
|
1067
|
-
|
|
1068
|
-
"items" in r(c) ?
|
|
1096
|
+
j(f, (v) => {
|
|
1097
|
+
"items" in r(c) ? v(g) : v(m, !1);
|
|
1069
1098
|
});
|
|
1070
1099
|
}
|
|
1071
|
-
b(s),
|
|
1072
|
-
}), b(k), l1(3, k, () => s1, () => ({ duration: 200, easing: o1 })),
|
|
1100
|
+
b(s), _(h, s);
|
|
1101
|
+
}), b(k), l1(3, k, () => s1, () => ({ duration: 200, easing: o1 })), _(o, k);
|
|
1073
1102
|
},
|
|
1074
1103
|
$$slots: { button: !0, default: !0 }
|
|
1075
|
-
}), b(l),
|
|
1104
|
+
}), b(l), _(e, l), O({
|
|
1076
1105
|
get items() {
|
|
1077
1106
|
return a();
|
|
1078
1107
|
},
|
|
@@ -1085,81 +1114,81 @@ H(s2, { items: {} }, [], [], !0);
|
|
|
1085
1114
|
var M4 = Z('<a class="mr-auto flex h-full items-center justify-center px-3 font-bold transition-colors hover:bg-yellow hover:text-yellow-contrast"> </a>'), k4 = Z('<span class="mr-auto flex h-full items-center justify-center px-3 font-bold"> </span>'), Z4 = Z('<nav aria-label="Page Specific"><div class="relative flex h-full min-w-full items-center justify-end overflow-y-visible [&>li]:contents"><!> <ul class="!static flex h-full w-fit lg:static [&>li]:contents"><!></ul></div></nav>');
|
|
1086
1115
|
function o2(e, t) {
|
|
1087
1116
|
G(t, !0);
|
|
1088
|
-
const [a, l] = u1(),
|
|
1089
|
-
let o = P(t, "items", 7), y = P(t, "title", 7), k = P(t, "url", 7),
|
|
1117
|
+
const [a, l] = u1(), w = () => h1(p, "$headerState", a), p = _1("header-state");
|
|
1118
|
+
let o = P(t, "items", 7), y = P(t, "title", 7), k = P(t, "url", 7), h = n1(void 0), c = n1(void 0), s = n1(void 0), f, g = n1(void 0);
|
|
1090
1119
|
G1(() => {
|
|
1091
1120
|
var d;
|
|
1092
|
-
clearTimeout(f), ((d =
|
|
1121
|
+
clearTimeout(f), ((d = w()) == null ? void 0 : d.mode) === "desktop" && r(h) - r(c) < r(s) && (f = setTimeout(
|
|
1093
1122
|
() => {
|
|
1094
|
-
|
|
1123
|
+
Q(g, d1(isNaN(r(g)) ? r(h) : Math.max(r(h), r(g))));
|
|
1095
1124
|
},
|
|
1096
1125
|
50
|
|
1097
1126
|
));
|
|
1098
1127
|
}), O1(() => {
|
|
1099
1128
|
var d;
|
|
1100
|
-
((d =
|
|
1129
|
+
((d = w()) == null ? void 0 : d.mode) === "desktop" && r(h) - r(c) < r(s) && Q(g, d1(isNaN(r(g)) ? r(h) : Math.max(r(h), r(g))));
|
|
1101
1130
|
});
|
|
1102
|
-
var m = Z4(),
|
|
1131
|
+
var m = Z4(), v = $(m), u = $(v);
|
|
1103
1132
|
{
|
|
1104
|
-
var
|
|
1105
|
-
var V = M4(),
|
|
1106
|
-
b(V),
|
|
1107
|
-
X(V, "href", k()), A(
|
|
1108
|
-
}), b1(V, "clientWidth", (
|
|
1133
|
+
var i = (d) => {
|
|
1134
|
+
var V = M4(), z = $(V, !0);
|
|
1135
|
+
b(V), S(() => {
|
|
1136
|
+
X(V, "href", k()), A(z, y());
|
|
1137
|
+
}), b1(V, "clientWidth", (N) => Q(c, N)), _(d, V);
|
|
1109
1138
|
}, x = (d, V) => {
|
|
1110
1139
|
{
|
|
1111
|
-
var
|
|
1112
|
-
var R = k4(),
|
|
1113
|
-
b(R),
|
|
1140
|
+
var z = (N) => {
|
|
1141
|
+
var R = k4(), K = $(R, !0);
|
|
1142
|
+
b(R), S(() => A(K, y())), b1(R, "clientWidth", (c2) => Q(c, c2)), _(N, R);
|
|
1114
1143
|
};
|
|
1115
|
-
|
|
1144
|
+
j(
|
|
1116
1145
|
d,
|
|
1117
|
-
(
|
|
1118
|
-
y() &&
|
|
1146
|
+
(N) => {
|
|
1147
|
+
y() && N(z);
|
|
1119
1148
|
},
|
|
1120
1149
|
V
|
|
1121
1150
|
);
|
|
1122
1151
|
}
|
|
1123
1152
|
};
|
|
1124
|
-
|
|
1125
|
-
y() && k() ? d(
|
|
1153
|
+
j(u, (d) => {
|
|
1154
|
+
y() && k() ? d(i) : d(x, !1);
|
|
1126
1155
|
});
|
|
1127
1156
|
}
|
|
1128
|
-
var
|
|
1157
|
+
var n = U(u, 2), C = $(n);
|
|
1129
1158
|
{
|
|
1130
1159
|
var L = (d) => {
|
|
1131
|
-
var V = c1(),
|
|
1160
|
+
var V = c1(), z = a1(V);
|
|
1132
1161
|
{
|
|
1133
|
-
var
|
|
1134
|
-
l2(
|
|
1162
|
+
var N = (K) => {
|
|
1163
|
+
l2(K, {
|
|
1135
1164
|
get items() {
|
|
1136
1165
|
return o();
|
|
1137
1166
|
}
|
|
1138
1167
|
});
|
|
1139
|
-
}, R = (
|
|
1140
|
-
s2(
|
|
1168
|
+
}, R = (K) => {
|
|
1169
|
+
s2(K, {
|
|
1141
1170
|
get items() {
|
|
1142
1171
|
return o();
|
|
1143
1172
|
}
|
|
1144
1173
|
});
|
|
1145
1174
|
};
|
|
1146
|
-
|
|
1147
|
-
|
|
1175
|
+
j(z, (K) => {
|
|
1176
|
+
w().mode === "desktop" && (isNaN(r(g)) || r(h) > r(g)) ? K(N) : K(R, !1);
|
|
1148
1177
|
});
|
|
1149
1178
|
}
|
|
1150
|
-
|
|
1179
|
+
_(d, V);
|
|
1151
1180
|
};
|
|
1152
|
-
|
|
1181
|
+
j(C, (d) => {
|
|
1153
1182
|
var V;
|
|
1154
1183
|
((V = o()) == null ? void 0 : V.length) > 0 && d(L);
|
|
1155
1184
|
});
|
|
1156
1185
|
}
|
|
1157
|
-
b(
|
|
1186
|
+
b(n), b(v), b(m), S((d) => T(m, 1, d), [
|
|
1158
1187
|
() => {
|
|
1159
1188
|
var d;
|
|
1160
|
-
return B(q1("align-items bg-grey-muted text-grey-muted-contrast relative block justify-end px-[calc((100%-1320px)/2)] text-lg lg:whitespace-nowrap", ((d =
|
|
1189
|
+
return B(q1("align-items bg-grey-muted text-grey-muted-contrast relative block justify-end px-[calc((100%-1320px)/2)] text-lg lg:whitespace-nowrap", ((d = w()) == null ? void 0 : d.variant) === "dual-brand" ? "h-10" : "h-[5rem] lg:h-10"));
|
|
1161
1190
|
}
|
|
1162
|
-
]), b1(
|
|
1191
|
+
]), b1(n, "clientWidth", (d) => Q(s, d)), b1(v, "clientWidth", (d) => Q(h, d)), _(e, m);
|
|
1163
1192
|
var M = O({
|
|
1164
1193
|
get items() {
|
|
1165
1194
|
return o();
|
|
@@ -1186,13 +1215,13 @@ H(o2, { items: {}, title: {}, url: {} }, [], [], !0);
|
|
|
1186
1215
|
var V4 = Z('<header class="relative z-10 w-full font-sans text-black"><!> <!> <!></header>');
|
|
1187
1216
|
function L4(e, t) {
|
|
1188
1217
|
G(t, !0);
|
|
1189
|
-
const [a, l] = u1(),
|
|
1218
|
+
const [a, l] = u1(), w = () => h1(c, "$headerState", a);
|
|
1190
1219
|
let p = P(t, "pageTitle", 7), o = P(t, "pageURL", 7), y = P(t, "variant", 7), k = n1(0);
|
|
1191
|
-
const
|
|
1220
|
+
const h = 1024, c = W1({ mode: "mobile", variant: y() });
|
|
1192
1221
|
B1("header-state", c);
|
|
1193
1222
|
let s = n1(d1([]));
|
|
1194
1223
|
O1(() => {
|
|
1195
|
-
const
|
|
1224
|
+
const n = () => {
|
|
1196
1225
|
const L = (M) => {
|
|
1197
1226
|
const d = {};
|
|
1198
1227
|
for (const V of M.attributes)
|
|
@@ -1203,7 +1232,7 @@ function L4(e, t) {
|
|
|
1203
1232
|
attributes: d
|
|
1204
1233
|
};
|
|
1205
1234
|
};
|
|
1206
|
-
|
|
1235
|
+
Q(s, d1(Array.from(t.$$host.children).filter((M) => M.tagName === "A" || M.tagName === "UL").map((M) => {
|
|
1207
1236
|
switch (M.tagName) {
|
|
1208
1237
|
case "A":
|
|
1209
1238
|
return L(M);
|
|
@@ -1215,32 +1244,32 @@ function L4(e, t) {
|
|
|
1215
1244
|
}
|
|
1216
1245
|
}).filter((M) => !!M)));
|
|
1217
1246
|
};
|
|
1218
|
-
|
|
1219
|
-
const
|
|
1220
|
-
return
|
|
1221
|
-
|
|
1247
|
+
n();
|
|
1248
|
+
const C = new MutationObserver(n);
|
|
1249
|
+
return C.observe(t.$$host, { childList: !0, subtree: !0 }), () => {
|
|
1250
|
+
C.disconnect();
|
|
1222
1251
|
};
|
|
1223
1252
|
}), G1(() => {
|
|
1224
1253
|
c.set({
|
|
1225
|
-
mode: r(k) >=
|
|
1254
|
+
mode: r(k) >= h ? "desktop" : "mobile",
|
|
1226
1255
|
variant: y()
|
|
1227
1256
|
});
|
|
1228
1257
|
});
|
|
1229
1258
|
var f = V4(), g = $(f);
|
|
1230
1259
|
{
|
|
1231
|
-
var m = (
|
|
1232
|
-
X1(
|
|
1260
|
+
var m = (n) => {
|
|
1261
|
+
X1(n, {});
|
|
1233
1262
|
};
|
|
1234
|
-
|
|
1235
|
-
|
|
1263
|
+
j(g, (n) => {
|
|
1264
|
+
w().mode === "desktop" && y() !== "dual-brand" && n(m);
|
|
1236
1265
|
});
|
|
1237
1266
|
}
|
|
1238
|
-
var
|
|
1239
|
-
r2(
|
|
1240
|
-
var
|
|
1267
|
+
var v = U(g, 2);
|
|
1268
|
+
r2(v, {});
|
|
1269
|
+
var u = U(v, 2);
|
|
1241
1270
|
{
|
|
1242
|
-
var
|
|
1243
|
-
o2(
|
|
1271
|
+
var i = (n) => {
|
|
1272
|
+
o2(n, {
|
|
1244
1273
|
get title() {
|
|
1245
1274
|
return p();
|
|
1246
1275
|
},
|
|
@@ -1252,30 +1281,30 @@ function L4(e, t) {
|
|
|
1252
1281
|
}
|
|
1253
1282
|
});
|
|
1254
1283
|
};
|
|
1255
|
-
|
|
1256
|
-
var
|
|
1257
|
-
(((
|
|
1284
|
+
j(u, (n) => {
|
|
1285
|
+
var C;
|
|
1286
|
+
(((C = r(s)) == null ? void 0 : C.length) > 0 || p()) && n(i);
|
|
1258
1287
|
});
|
|
1259
1288
|
}
|
|
1260
|
-
b(f), M2("innerWidth", (
|
|
1289
|
+
b(f), M2("innerWidth", (n) => Q(k, d1(n))), _(e, f);
|
|
1261
1290
|
var x = O({
|
|
1262
1291
|
get pageTitle() {
|
|
1263
1292
|
return p();
|
|
1264
1293
|
},
|
|
1265
|
-
set pageTitle(
|
|
1266
|
-
p(
|
|
1294
|
+
set pageTitle(n) {
|
|
1295
|
+
p(n), E();
|
|
1267
1296
|
},
|
|
1268
1297
|
get pageURL() {
|
|
1269
1298
|
return o();
|
|
1270
1299
|
},
|
|
1271
|
-
set pageURL(
|
|
1272
|
-
o(
|
|
1300
|
+
set pageURL(n) {
|
|
1301
|
+
o(n), E();
|
|
1273
1302
|
},
|
|
1274
1303
|
get variant() {
|
|
1275
1304
|
return y();
|
|
1276
1305
|
},
|
|
1277
|
-
set variant(
|
|
1278
|
-
y(
|
|
1306
|
+
set variant(n) {
|
|
1307
|
+
y(n), E();
|
|
1279
1308
|
}
|
|
1280
1309
|
});
|
|
1281
1310
|
return l(), x;
|