@gsa-tts/graymatter-ui 0.4.15 → 0.4.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/graymatter-ui.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var ko = Object.defineProperty;
|
|
2
|
+
var qn = (e) => {
|
|
3
3
|
throw TypeError(e);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var Ee = (e, t, r) =>
|
|
7
|
-
var
|
|
5
|
+
var yo = (e, t, r) => t in e ? ko(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
6
|
+
var Ee = (e, t, r) => yo(e, typeof t != "symbol" ? t + "" : t, r), An = (e, t, r) => t.has(e) || qn("Cannot " + r);
|
|
7
|
+
var ye = (e, t, r) => (An(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Ur = (e, t, r) => t.has(e) ? qn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), Hr = (e, t, r, n) => (An(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r);
|
|
8
8
|
var Qn;
|
|
9
9
|
typeof window < "u" && ((Qn = window.__svelte ?? (window.__svelte = {})).v ?? (Qn.v = /* @__PURE__ */ new Set())).add("5");
|
|
10
|
-
const Qr = 1, en = 2, ei = 4, xo = 8, Co = 16, Eo = 1,
|
|
11
|
-
var mr = Array.isArray,
|
|
10
|
+
const Qr = 1, en = 2, ei = 4, xo = 8, Co = 16, Eo = 1, So = 2, ti = 4, Lo = 8, zo = 16, ri = 1, Mo = 2, tn = "[", rn = "[!", nn = "]", kt = {}, xe = Symbol(), Io = "http://www.w3.org/1999/xhtml", No = "@attach", Un = !1;
|
|
11
|
+
var mr = Array.isArray, To = Array.prototype.indexOf, on = Array.from, dr = Object.keys, Vt = Object.defineProperty, Je = Object.getOwnPropertyDescriptor, ni = Object.getOwnPropertyDescriptors, Do = Object.prototype, $o = Array.prototype, an = Object.getPrototypeOf, Hn = Object.isExtensible;
|
|
12
12
|
function At(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
15
|
const ot = () => {
|
|
16
16
|
};
|
|
17
|
-
function
|
|
17
|
+
function qo(e) {
|
|
18
18
|
return e();
|
|
19
19
|
}
|
|
20
20
|
function Pt(e) {
|
|
21
21
|
for (var t = 0; t < e.length; t++)
|
|
22
22
|
e[t]();
|
|
23
23
|
}
|
|
24
|
-
const
|
|
24
|
+
const Te = 2, sn = 4, Wt = 8, ln = 16, Qe = 32, ht = 64, cn = 128, Le = 256, vr = 512, ze = 1024, Xe = 2048, lt = 4096, We = 8192, un = 16384, ii = 32768, wr = 65536, On = 1 << 17, Ao = 1 << 18, oi = 1 << 19, Rr = 1 << 20, dn = 1 << 21, Fe = Symbol("$state"), vn = Symbol("legacy props"), Uo = Symbol(""), ai = new class extends Error {
|
|
25
25
|
constructor() {
|
|
26
26
|
super(...arguments);
|
|
27
27
|
Ee(this, "name", "StaleReactionError");
|
|
@@ -31,11 +31,11 @@ const Ne = 2, sn = 4, Wt = 8, ln = 16, Qe = 32, gt = 64, un = 128, Se = 256, vr
|
|
|
31
31
|
function li(e) {
|
|
32
32
|
return e === this.v;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function ci(e, t) {
|
|
35
35
|
return e != e ? t == t : e !== t || e !== null && typeof e == "object" || typeof e == "function";
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
return !
|
|
37
|
+
function ui(e) {
|
|
38
|
+
return !ci(e, this.v);
|
|
39
39
|
}
|
|
40
40
|
function Ho(e) {
|
|
41
41
|
throw new Error("https://svelte.dev/e/effect_in_teardown");
|
|
@@ -90,8 +90,8 @@ function ne(e, t = !1, r) {
|
|
|
90
90
|
s: null,
|
|
91
91
|
u: null,
|
|
92
92
|
r1: [],
|
|
93
|
-
r2:
|
|
94
|
-
}),
|
|
93
|
+
r2: yt(!1)
|
|
94
|
+
}), yr(() => {
|
|
95
95
|
n.d = !0;
|
|
96
96
|
});
|
|
97
97
|
}
|
|
@@ -106,7 +106,7 @@ function ie(e) {
|
|
|
106
106
|
try {
|
|
107
107
|
for (var i = 0; i < s.length; i++) {
|
|
108
108
|
var o = s[i];
|
|
109
|
-
st(o.effect), Ye(o.reaction),
|
|
109
|
+
st(o.effect), Ye(o.reaction), yi(o.fn);
|
|
110
110
|
}
|
|
111
111
|
} finally {
|
|
112
112
|
st(r), Ye(n);
|
|
@@ -117,42 +117,42 @@ function ie(e) {
|
|
|
117
117
|
return e || /** @type {T} */
|
|
118
118
|
{};
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function _r() {
|
|
121
121
|
return !Et || Q !== null && Q.l === null;
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function _t(e) {
|
|
124
124
|
if (typeof e != "object" || e === null || Fe in e)
|
|
125
125
|
return e;
|
|
126
126
|
const t = an(e);
|
|
127
|
-
if (t !==
|
|
127
|
+
if (t !== Do && t !== $o)
|
|
128
128
|
return e;
|
|
129
|
-
var r = /* @__PURE__ */ new Map(), n = mr(e), i = /* @__PURE__ */
|
|
129
|
+
var r = /* @__PURE__ */ new Map(), n = mr(e), i = /* @__PURE__ */ ge(0), o = R, s = (a) => {
|
|
130
130
|
var l = R;
|
|
131
131
|
Ye(o);
|
|
132
|
-
var
|
|
133
|
-
return Ye(l),
|
|
132
|
+
var c = a();
|
|
133
|
+
return Ye(l), c;
|
|
134
134
|
};
|
|
135
|
-
return n && r.set("length", /* @__PURE__ */
|
|
135
|
+
return n && r.set("length", /* @__PURE__ */ ge(
|
|
136
136
|
/** @type {any[]} */
|
|
137
137
|
e.length
|
|
138
138
|
)), new Proxy(
|
|
139
139
|
/** @type {any} */
|
|
140
140
|
e,
|
|
141
141
|
{
|
|
142
|
-
defineProperty(a, l,
|
|
143
|
-
(!("value" in
|
|
142
|
+
defineProperty(a, l, c) {
|
|
143
|
+
(!("value" in c) || c.configurable === !1 || c.enumerable === !1 || c.writable === !1) && jo();
|
|
144
144
|
var f = r.get(l);
|
|
145
145
|
return f === void 0 ? f = s(() => {
|
|
146
|
-
var d = /* @__PURE__ */
|
|
146
|
+
var d = /* @__PURE__ */ ge(c.value);
|
|
147
147
|
return r.set(l, d), d;
|
|
148
|
-
}) :
|
|
148
|
+
}) : q(f, c.value, !0), !0;
|
|
149
149
|
},
|
|
150
150
|
deleteProperty(a, l) {
|
|
151
|
-
var
|
|
152
|
-
if (
|
|
151
|
+
var c = r.get(l);
|
|
152
|
+
if (c === void 0) {
|
|
153
153
|
if (l in a) {
|
|
154
|
-
const
|
|
155
|
-
r.set(l,
|
|
154
|
+
const u = s(() => /* @__PURE__ */ ge(xe));
|
|
155
|
+
r.set(l, u), Or(i);
|
|
156
156
|
}
|
|
157
157
|
} else {
|
|
158
158
|
if (n && typeof l == "string") {
|
|
@@ -160,83 +160,83 @@ function yt(e) {
|
|
|
160
160
|
/** @type {Source<number>} */
|
|
161
161
|
r.get("length")
|
|
162
162
|
), d = Number(l);
|
|
163
|
-
Number.isInteger(d) && d < f.v &&
|
|
163
|
+
Number.isInteger(d) && d < f.v && q(f, d);
|
|
164
164
|
}
|
|
165
|
-
|
|
165
|
+
q(c, xe), Or(i);
|
|
166
166
|
}
|
|
167
167
|
return !0;
|
|
168
168
|
},
|
|
169
|
-
get(a, l,
|
|
169
|
+
get(a, l, c) {
|
|
170
170
|
var v;
|
|
171
171
|
if (l === Fe)
|
|
172
172
|
return e;
|
|
173
173
|
var f = r.get(l), d = l in a;
|
|
174
174
|
if (f === void 0 && (!d || (v = Je(a, l)) != null && v.writable) && (f = s(() => {
|
|
175
|
-
var
|
|
176
|
-
return
|
|
175
|
+
var h = _t(d ? a[l] : xe), y = /* @__PURE__ */ ge(h);
|
|
176
|
+
return y;
|
|
177
177
|
}), r.set(l, f)), f !== void 0) {
|
|
178
|
-
var
|
|
179
|
-
return
|
|
178
|
+
var u = m(f);
|
|
179
|
+
return u === xe ? void 0 : u;
|
|
180
180
|
}
|
|
181
|
-
return Reflect.get(a, l,
|
|
181
|
+
return Reflect.get(a, l, c);
|
|
182
182
|
},
|
|
183
183
|
getOwnPropertyDescriptor(a, l) {
|
|
184
|
-
var
|
|
185
|
-
if (
|
|
184
|
+
var c = Reflect.getOwnPropertyDescriptor(a, l);
|
|
185
|
+
if (c && "value" in c) {
|
|
186
186
|
var f = r.get(l);
|
|
187
|
-
f && (
|
|
188
|
-
} else if (
|
|
189
|
-
var d = r.get(l),
|
|
190
|
-
if (d !== void 0 &&
|
|
187
|
+
f && (c.value = m(f));
|
|
188
|
+
} else if (c === void 0) {
|
|
189
|
+
var d = r.get(l), u = d == null ? void 0 : d.v;
|
|
190
|
+
if (d !== void 0 && u !== xe)
|
|
191
191
|
return {
|
|
192
192
|
enumerable: !0,
|
|
193
193
|
configurable: !0,
|
|
194
|
-
value:
|
|
194
|
+
value: u,
|
|
195
195
|
writable: !0
|
|
196
196
|
};
|
|
197
197
|
}
|
|
198
|
-
return
|
|
198
|
+
return c;
|
|
199
199
|
},
|
|
200
200
|
has(a, l) {
|
|
201
|
-
var
|
|
201
|
+
var u;
|
|
202
202
|
if (l === Fe)
|
|
203
203
|
return !0;
|
|
204
|
-
var
|
|
205
|
-
if (
|
|
206
|
-
|
|
207
|
-
var v = f ?
|
|
208
|
-
return
|
|
209
|
-
}), r.set(l,
|
|
210
|
-
var d = m(
|
|
204
|
+
var c = r.get(l), f = c !== void 0 && c.v !== xe || Reflect.has(a, l);
|
|
205
|
+
if (c !== void 0 || Z !== null && (!f || (u = Je(a, l)) != null && u.writable)) {
|
|
206
|
+
c === void 0 && (c = s(() => {
|
|
207
|
+
var v = f ? _t(a[l]) : xe, h = /* @__PURE__ */ ge(v);
|
|
208
|
+
return h;
|
|
209
|
+
}), r.set(l, c));
|
|
210
|
+
var d = m(c);
|
|
211
211
|
if (d === xe)
|
|
212
212
|
return !1;
|
|
213
213
|
}
|
|
214
214
|
return f;
|
|
215
215
|
},
|
|
216
|
-
set(a, l,
|
|
217
|
-
var
|
|
218
|
-
var d = r.get(l),
|
|
216
|
+
set(a, l, c, f) {
|
|
217
|
+
var b;
|
|
218
|
+
var d = r.get(l), u = l in a;
|
|
219
219
|
if (n && l === "length")
|
|
220
|
-
for (var v =
|
|
220
|
+
for (var v = c; v < /** @type {Source<number>} */
|
|
221
221
|
d.v; v += 1) {
|
|
222
|
-
var
|
|
223
|
-
|
|
222
|
+
var h = r.get(v + "");
|
|
223
|
+
h !== void 0 ? q(h, xe) : v in a && (h = s(() => /* @__PURE__ */ ge(xe)), r.set(v + "", h));
|
|
224
224
|
}
|
|
225
225
|
if (d === void 0)
|
|
226
|
-
(!
|
|
226
|
+
(!u || (b = Je(a, l)) != null && b.writable) && (d = s(() => /* @__PURE__ */ ge(void 0)), q(d, _t(c)), r.set(l, d));
|
|
227
227
|
else {
|
|
228
|
-
|
|
229
|
-
var
|
|
230
|
-
|
|
228
|
+
u = d.v !== xe;
|
|
229
|
+
var y = s(() => _t(c));
|
|
230
|
+
q(d, y);
|
|
231
231
|
}
|
|
232
|
-
var
|
|
233
|
-
if (
|
|
232
|
+
var S = Reflect.getOwnPropertyDescriptor(a, l);
|
|
233
|
+
if (S != null && S.set && S.set.call(f, c), !u) {
|
|
234
234
|
if (n && typeof l == "string") {
|
|
235
|
-
var
|
|
235
|
+
var L = (
|
|
236
236
|
/** @type {Source<number>} */
|
|
237
237
|
r.get("length")
|
|
238
|
-
),
|
|
239
|
-
Number.isInteger(
|
|
238
|
+
), g = Number(l);
|
|
239
|
+
Number.isInteger(g) && g >= L.v && q(L, g + 1);
|
|
240
240
|
}
|
|
241
241
|
Or(i);
|
|
242
242
|
}
|
|
@@ -245,11 +245,11 @@ function yt(e) {
|
|
|
245
245
|
ownKeys(a) {
|
|
246
246
|
m(i);
|
|
247
247
|
var l = Reflect.ownKeys(a).filter((d) => {
|
|
248
|
-
var
|
|
249
|
-
return
|
|
248
|
+
var u = r.get(d);
|
|
249
|
+
return u === void 0 || u.v !== xe;
|
|
250
250
|
});
|
|
251
|
-
for (var [
|
|
252
|
-
f.v !== xe && !(
|
|
251
|
+
for (var [c, f] of r)
|
|
252
|
+
f.v !== xe && !(c in a) && l.push(c);
|
|
253
253
|
return l;
|
|
254
254
|
},
|
|
255
255
|
setPrototypeOf() {
|
|
@@ -259,7 +259,7 @@ function yt(e) {
|
|
|
259
259
|
);
|
|
260
260
|
}
|
|
261
261
|
function Or(e, t = 1) {
|
|
262
|
-
|
|
262
|
+
q(e, e.v + t);
|
|
263
263
|
}
|
|
264
264
|
function Pn(e) {
|
|
265
265
|
try {
|
|
@@ -273,12 +273,12 @@ function Wo(e, t) {
|
|
|
273
273
|
return Object.is(Pn(e), Pn(t));
|
|
274
274
|
}
|
|
275
275
|
// @__NO_SIDE_EFFECTS__
|
|
276
|
-
function
|
|
277
|
-
var t =
|
|
276
|
+
function St(e) {
|
|
277
|
+
var t = Te | Xe, r = R !== null && (R.f & Te) !== 0 ? (
|
|
278
278
|
/** @type {Derived} */
|
|
279
279
|
R
|
|
280
280
|
) : null;
|
|
281
|
-
return Z === null || r !== null && (r.f &
|
|
281
|
+
return Z === null || r !== null && (r.f & Le) !== 0 ? t |= Le : Z.f |= oi, {
|
|
282
282
|
ctx: Q,
|
|
283
283
|
deps: null,
|
|
284
284
|
effects: null,
|
|
@@ -298,20 +298,20 @@ function qt(e) {
|
|
|
298
298
|
}
|
|
299
299
|
// @__NO_SIDE_EFFECTS__
|
|
300
300
|
function re(e) {
|
|
301
|
-
const t = /* @__PURE__ */
|
|
302
|
-
return
|
|
301
|
+
const t = /* @__PURE__ */ St(e);
|
|
302
|
+
return Ii(t), t;
|
|
303
303
|
}
|
|
304
304
|
// @__NO_SIDE_EFFECTS__
|
|
305
305
|
function di(e) {
|
|
306
|
-
const t = /* @__PURE__ */
|
|
307
|
-
return t.equals =
|
|
306
|
+
const t = /* @__PURE__ */ St(e);
|
|
307
|
+
return t.equals = ui, t;
|
|
308
308
|
}
|
|
309
309
|
function vi(e) {
|
|
310
310
|
var t = e.effects;
|
|
311
311
|
if (t !== null) {
|
|
312
312
|
e.effects = null;
|
|
313
313
|
for (var r = 0; r < t.length; r += 1)
|
|
314
|
-
|
|
314
|
+
De(
|
|
315
315
|
/** @type {Effect} */
|
|
316
316
|
t[r]
|
|
317
317
|
);
|
|
@@ -319,7 +319,7 @@ function vi(e) {
|
|
|
319
319
|
}
|
|
320
320
|
function Go(e) {
|
|
321
321
|
for (var t = e.parent; t !== null; ) {
|
|
322
|
-
if ((t.f &
|
|
322
|
+
if ((t.f & Te) === 0)
|
|
323
323
|
return (
|
|
324
324
|
/** @type {Effect} */
|
|
325
325
|
t
|
|
@@ -332,21 +332,21 @@ function fi(e) {
|
|
|
332
332
|
var t, r = Z;
|
|
333
333
|
st(Go(e));
|
|
334
334
|
try {
|
|
335
|
-
vi(e), t =
|
|
335
|
+
vi(e), t = Di(e);
|
|
336
336
|
} finally {
|
|
337
337
|
st(r);
|
|
338
338
|
}
|
|
339
339
|
return t;
|
|
340
340
|
}
|
|
341
|
-
function
|
|
341
|
+
function hi(e) {
|
|
342
342
|
var t = fi(e);
|
|
343
|
-
if (e.equals(t) || (e.v = t, e.wv =
|
|
344
|
-
var r = (it || (e.f &
|
|
343
|
+
if (e.equals(t) || (e.v = t, e.wv = Ni()), !Mt) {
|
|
344
|
+
var r = (it || (e.f & Le) !== 0) && e.deps !== null ? lt : ze;
|
|
345
345
|
Pe(e, r);
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
const Bt = /* @__PURE__ */ new Map();
|
|
349
|
-
function
|
|
349
|
+
function yt(e, t) {
|
|
350
350
|
var r = {
|
|
351
351
|
f: 0,
|
|
352
352
|
// TODO ideally we could skip this altogether, but it causes type errors
|
|
@@ -359,49 +359,49 @@ function kt(e, t) {
|
|
|
359
359
|
return r;
|
|
360
360
|
}
|
|
361
361
|
// @__NO_SIDE_EFFECTS__
|
|
362
|
-
function
|
|
363
|
-
const r =
|
|
364
|
-
return
|
|
362
|
+
function ge(e, t) {
|
|
363
|
+
const r = yt(e);
|
|
364
|
+
return Ii(r), r;
|
|
365
365
|
}
|
|
366
366
|
// @__NO_SIDE_EFFECTS__
|
|
367
|
-
function
|
|
367
|
+
function ut(e, t = !1, r = !0) {
|
|
368
368
|
var i;
|
|
369
|
-
const n =
|
|
370
|
-
return t || (n.equals =
|
|
369
|
+
const n = yt(e);
|
|
370
|
+
return t || (n.equals = ui), Et && r && Q !== null && Q.l !== null && ((i = Q.l).s ?? (i.s = [])).push(n), n;
|
|
371
371
|
}
|
|
372
372
|
function Xo(e, t) {
|
|
373
|
-
return
|
|
373
|
+
return q(
|
|
374
374
|
e,
|
|
375
375
|
He(() => m(e))
|
|
376
376
|
), t;
|
|
377
377
|
}
|
|
378
|
-
function
|
|
378
|
+
function q(e, t, r = !1) {
|
|
379
379
|
R !== null && // since we are untracking the function inside `$inspect.with` we need to add this check
|
|
380
380
|
// to ensure we error if state is set inside an inspect effect
|
|
381
|
-
(!Be || (R.f & On) !== 0) &&
|
|
382
|
-
let n = r ?
|
|
381
|
+
(!Be || (R.f & On) !== 0) && _r() && (R.f & (Te | ln | On)) !== 0 && !((le == null ? void 0 : le.reaction) === R && le.sources.includes(e)) && Zo();
|
|
382
|
+
let n = r ? _t(t) : t;
|
|
383
383
|
return Br(e, n);
|
|
384
384
|
}
|
|
385
385
|
function Br(e, t) {
|
|
386
386
|
if (!e.equals(t)) {
|
|
387
387
|
var r = e.v;
|
|
388
|
-
|
|
388
|
+
Mt ? Bt.set(e, t) : Bt.set(e, r), e.v = t, (e.f & Te) !== 0 && ((e.f & Xe) !== 0 && fi(
|
|
389
389
|
/** @type {Derived} */
|
|
390
390
|
e
|
|
391
|
-
), Pe(e, (e.f &
|
|
391
|
+
), Pe(e, (e.f & Le) === 0 ? ze : lt)), e.wv = Ni(), bi(e, Xe), _r() && Z !== null && (Z.f & ze) !== 0 && (Z.f & (Qe | ht)) === 0 && (Me === null ? da([e]) : Me.push(e));
|
|
392
392
|
}
|
|
393
393
|
return t;
|
|
394
394
|
}
|
|
395
395
|
function Rn(e, t = 1) {
|
|
396
396
|
var r = m(e), n = t === 1 ? r++ : r--;
|
|
397
|
-
return
|
|
397
|
+
return q(e, r), n;
|
|
398
398
|
}
|
|
399
|
-
function
|
|
399
|
+
function bi(e, t) {
|
|
400
400
|
var r = e.reactions;
|
|
401
401
|
if (r !== null)
|
|
402
|
-
for (var n =
|
|
402
|
+
for (var n = _r(), i = r.length, o = 0; o < i; o++) {
|
|
403
403
|
var s = r[o], a = s.f;
|
|
404
|
-
(a & Xe) === 0 && (!n && s === Z || (Pe(s, t), (a & (
|
|
404
|
+
(a & Xe) === 0 && (!n && s === Z || (Pe(s, t), (a & (ze | Le)) !== 0 && ((a & Te) !== 0 ? bi(
|
|
405
405
|
/** @type {Derived} */
|
|
406
406
|
s,
|
|
407
407
|
lt
|
|
@@ -411,7 +411,7 @@ function hi(e, t) {
|
|
|
411
411
|
))));
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function kr(e) {
|
|
415
415
|
console.warn("https://svelte.dev/e/hydration_mismatch");
|
|
416
416
|
}
|
|
417
417
|
function Qo() {
|
|
@@ -424,10 +424,10 @@ function Ue(e) {
|
|
|
424
424
|
let F;
|
|
425
425
|
function Oe(e) {
|
|
426
426
|
if (e === null)
|
|
427
|
-
throw
|
|
427
|
+
throw kr(), kt;
|
|
428
428
|
return F = e;
|
|
429
429
|
}
|
|
430
|
-
function
|
|
430
|
+
function Lt() {
|
|
431
431
|
return Oe(
|
|
432
432
|
/** @type {TemplateNode} */
|
|
433
433
|
/* @__PURE__ */ et(F)
|
|
@@ -436,7 +436,7 @@ function St() {
|
|
|
436
436
|
function C(e) {
|
|
437
437
|
if (H) {
|
|
438
438
|
if (/* @__PURE__ */ et(F) !== null)
|
|
439
|
-
throw
|
|
439
|
+
throw kr(), kt;
|
|
440
440
|
F = e;
|
|
441
441
|
}
|
|
442
442
|
}
|
|
@@ -467,18 +467,18 @@ function jr() {
|
|
|
467
467
|
t.remove(), t = n;
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
function
|
|
470
|
+
function pi(e) {
|
|
471
471
|
if (!e || e.nodeType !== Rt)
|
|
472
|
-
throw
|
|
472
|
+
throw kr(), kt;
|
|
473
473
|
return (
|
|
474
474
|
/** @type {Comment} */
|
|
475
475
|
e.data
|
|
476
476
|
);
|
|
477
477
|
}
|
|
478
|
-
var Bn,
|
|
478
|
+
var Bn, gi, mi, wi;
|
|
479
479
|
function Fr() {
|
|
480
480
|
if (Bn === void 0) {
|
|
481
|
-
Bn = window,
|
|
481
|
+
Bn = window, gi = /Firefox/.test(navigator.userAgent);
|
|
482
482
|
var e = Element.prototype, t = Node.prototype, r = Text.prototype;
|
|
483
483
|
mi = Je(t, "firstChild").get, wi = Je(t, "nextSibling").get, Hn(e) && (e.__click = void 0, e.__className = void 0, e.__attributes = null, e.__style = void 0, e.__e = void 0), Hn(r) && (r.__t = void 0);
|
|
484
484
|
}
|
|
@@ -487,7 +487,7 @@ function xt(e = "") {
|
|
|
487
487
|
return document.createTextNode(e);
|
|
488
488
|
}
|
|
489
489
|
// @__NO_SIDE_EFFECTS__
|
|
490
|
-
function
|
|
490
|
+
function Ne(e) {
|
|
491
491
|
return mi.call(e);
|
|
492
492
|
}
|
|
493
493
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -496,10 +496,10 @@ function et(e) {
|
|
|
496
496
|
}
|
|
497
497
|
function E(e, t) {
|
|
498
498
|
if (!H)
|
|
499
|
-
return /* @__PURE__ */
|
|
499
|
+
return /* @__PURE__ */ Ne(e);
|
|
500
500
|
var r = (
|
|
501
501
|
/** @type {TemplateNode} */
|
|
502
|
-
/* @__PURE__ */
|
|
502
|
+
/* @__PURE__ */ Ne(F)
|
|
503
503
|
);
|
|
504
504
|
if (r === null)
|
|
505
505
|
r = F.appendChild(xt());
|
|
@@ -513,7 +513,7 @@ function Ze(e, t) {
|
|
|
513
513
|
if (!H) {
|
|
514
514
|
var r = (
|
|
515
515
|
/** @type {DocumentFragment} */
|
|
516
|
-
/* @__PURE__ */
|
|
516
|
+
/* @__PURE__ */ Ne(
|
|
517
517
|
/** @type {Node} */
|
|
518
518
|
e
|
|
519
519
|
)
|
|
@@ -522,7 +522,7 @@ function Ze(e, t) {
|
|
|
522
522
|
}
|
|
523
523
|
return F;
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function ue(e, t = 1, r = !1) {
|
|
526
526
|
let n = H ? F : e;
|
|
527
527
|
for (var i; t--; )
|
|
528
528
|
i = n, n = /** @type {TemplateNode} */
|
|
@@ -536,11 +536,11 @@ function ce(e, t = 1, r = !1) {
|
|
|
536
536
|
return Oe(n), /** @type {TemplateNode} */
|
|
537
537
|
n;
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function _i(e) {
|
|
540
540
|
e.textContent = "";
|
|
541
541
|
}
|
|
542
|
-
function
|
|
543
|
-
Z === null && R === null && Vo(), R !== null && (R.f &
|
|
542
|
+
function ki(e) {
|
|
543
|
+
Z === null && R === null && Vo(), R !== null && (R.f & Le) !== 0 && Z === null && Oo(), Mt && Ho();
|
|
544
544
|
}
|
|
545
545
|
function ea(e, t) {
|
|
546
546
|
var r = t.last;
|
|
@@ -569,11 +569,11 @@ function tt(e, t, r, n = !0) {
|
|
|
569
569
|
try {
|
|
570
570
|
Cr(o), o.f |= ii;
|
|
571
571
|
} catch (l) {
|
|
572
|
-
throw
|
|
572
|
+
throw De(o), l;
|
|
573
573
|
}
|
|
574
574
|
else t !== null && Er(o);
|
|
575
|
-
var s = r && o.deps === null && o.first === null && o.nodes_start === null && o.teardown === null && (o.f & (oi |
|
|
576
|
-
if (!s && n && (i !== null && ea(o, i), R !== null && (R.f &
|
|
575
|
+
var s = r && o.deps === null && o.first === null && o.nodes_start === null && o.teardown === null && (o.f & (oi | cn)) === 0;
|
|
576
|
+
if (!s && n && (i !== null && ea(o, i), R !== null && (R.f & Te) !== 0)) {
|
|
577
577
|
var a = (
|
|
578
578
|
/** @type {Derived} */
|
|
579
579
|
R
|
|
@@ -582,12 +582,12 @@ function tt(e, t, r, n = !0) {
|
|
|
582
582
|
}
|
|
583
583
|
return o;
|
|
584
584
|
}
|
|
585
|
-
function
|
|
585
|
+
function yr(e) {
|
|
586
586
|
const t = tt(Wt, null, !1);
|
|
587
|
-
return Pe(t,
|
|
587
|
+
return Pe(t, ze), t.teardown = e, t;
|
|
588
588
|
}
|
|
589
589
|
function Zr(e) {
|
|
590
|
-
|
|
590
|
+
ki();
|
|
591
591
|
var t = Z !== null && (Z.f & Qe) !== 0 && Q !== null && !Q.m;
|
|
592
592
|
if (t) {
|
|
593
593
|
var r = (
|
|
@@ -600,26 +600,26 @@ function Zr(e) {
|
|
|
600
600
|
reaction: R
|
|
601
601
|
});
|
|
602
602
|
} else
|
|
603
|
-
return
|
|
603
|
+
return yi(e);
|
|
604
604
|
}
|
|
605
|
-
function
|
|
605
|
+
function yi(e) {
|
|
606
606
|
return tt(sn | dn, e, !1);
|
|
607
607
|
}
|
|
608
608
|
function ta(e) {
|
|
609
|
-
return
|
|
609
|
+
return ki(), tt(Wt | dn, e, !0);
|
|
610
610
|
}
|
|
611
611
|
function ra(e) {
|
|
612
|
-
const t = tt(
|
|
612
|
+
const t = tt(ht, e, !0);
|
|
613
613
|
return () => {
|
|
614
|
-
|
|
614
|
+
De(t);
|
|
615
615
|
};
|
|
616
616
|
}
|
|
617
617
|
function na(e) {
|
|
618
|
-
const t = tt(
|
|
618
|
+
const t = tt(ht, e, !0);
|
|
619
619
|
return (r = {}) => new Promise((n) => {
|
|
620
620
|
r.outro ? jt(t, () => {
|
|
621
|
-
|
|
622
|
-
}) : (
|
|
621
|
+
De(t), n(void 0);
|
|
622
|
+
}) : (De(t), n(void 0));
|
|
623
623
|
});
|
|
624
624
|
}
|
|
625
625
|
function fn(e) {
|
|
@@ -631,7 +631,7 @@ function ia(e, t) {
|
|
|
631
631
|
Q
|
|
632
632
|
), n = { effect: null, ran: !1 };
|
|
633
633
|
r.l.r1.push(n), n.effect = xr(() => {
|
|
634
|
-
e(), !n.ran && (n.ran = !0,
|
|
634
|
+
e(), !n.ran && (n.ran = !0, q(r.l.r2, !0), He(t));
|
|
635
635
|
});
|
|
636
636
|
}
|
|
637
637
|
function oa() {
|
|
@@ -643,7 +643,7 @@ function oa() {
|
|
|
643
643
|
if (m(e.l.r2)) {
|
|
644
644
|
for (var t of e.l.r1) {
|
|
645
645
|
var r = t.effect;
|
|
646
|
-
(r.f &
|
|
646
|
+
(r.f & ze) !== 0 && Pe(r, lt), Xt(r) && Cr(r), t.ran = !1;
|
|
647
647
|
}
|
|
648
648
|
e.l.r2.v = !1;
|
|
649
649
|
}
|
|
@@ -652,11 +652,11 @@ function oa() {
|
|
|
652
652
|
function xr(e) {
|
|
653
653
|
return tt(Wt, e, !0);
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function he(e, t = [], r = St) {
|
|
656
656
|
const n = t.map(r);
|
|
657
|
-
return
|
|
657
|
+
return zt(() => e(...n.map(m)));
|
|
658
658
|
}
|
|
659
|
-
function
|
|
659
|
+
function zt(e, t = 0) {
|
|
660
660
|
var r = tt(Wt | ln | t, e, !0);
|
|
661
661
|
return r;
|
|
662
662
|
}
|
|
@@ -666,7 +666,7 @@ function at(e, t = !0) {
|
|
|
666
666
|
function xi(e) {
|
|
667
667
|
var t = e.teardown;
|
|
668
668
|
if (t !== null) {
|
|
669
|
-
const r =
|
|
669
|
+
const r = Mt, n = R;
|
|
670
670
|
jn(!0), Ye(null);
|
|
671
671
|
try {
|
|
672
672
|
t.call(null);
|
|
@@ -681,22 +681,22 @@ function Ci(e, t = !1) {
|
|
|
681
681
|
for (e.first = e.last = null; r !== null; ) {
|
|
682
682
|
(i = r.ac) == null || i.abort(ai);
|
|
683
683
|
var n = r.next;
|
|
684
|
-
(r.f &
|
|
684
|
+
(r.f & ht) !== 0 ? r.parent = null : De(r, t), r = n;
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
687
|
function aa(e) {
|
|
688
688
|
for (var t = e.first; t !== null; ) {
|
|
689
689
|
var r = t.next;
|
|
690
|
-
(t.f & Qe) === 0 &&
|
|
690
|
+
(t.f & Qe) === 0 && De(t), t = r;
|
|
691
691
|
}
|
|
692
692
|
}
|
|
693
|
-
function
|
|
693
|
+
function De(e, t = !0) {
|
|
694
694
|
var r = !1;
|
|
695
695
|
(t || (e.f & Ao) !== 0) && e.nodes_start !== null && e.nodes_end !== null && (sa(
|
|
696
696
|
e.nodes_start,
|
|
697
697
|
/** @type {TemplateNode} */
|
|
698
698
|
e.nodes_end
|
|
699
|
-
), r = !0), Ci(e, t && !r),
|
|
699
|
+
), r = !0), Ci(e, t && !r), pr(e, 0), Pe(e, un);
|
|
700
700
|
var n = e.transitions;
|
|
701
701
|
if (n !== null)
|
|
702
702
|
for (const o of n)
|
|
@@ -720,11 +720,11 @@ function Ei(e) {
|
|
|
720
720
|
}
|
|
721
721
|
function jt(e, t) {
|
|
722
722
|
var r = [];
|
|
723
|
-
|
|
724
|
-
|
|
723
|
+
hn(e, r, !0), Si(r, () => {
|
|
724
|
+
De(e), t && t();
|
|
725
725
|
});
|
|
726
726
|
}
|
|
727
|
-
function
|
|
727
|
+
function Si(e, t) {
|
|
728
728
|
var r = e.length;
|
|
729
729
|
if (r > 0) {
|
|
730
730
|
var n = () => --r || t();
|
|
@@ -733,26 +733,26 @@ function qi(e, t) {
|
|
|
733
733
|
} else
|
|
734
734
|
t();
|
|
735
735
|
}
|
|
736
|
-
function
|
|
736
|
+
function hn(e, t, r) {
|
|
737
737
|
if ((e.f & We) === 0) {
|
|
738
738
|
if (e.f ^= We, e.transitions !== null)
|
|
739
739
|
for (const s of e.transitions)
|
|
740
740
|
(s.is_global || r) && t.push(s);
|
|
741
741
|
for (var n = e.first; n !== null; ) {
|
|
742
742
|
var i = n.next, o = (n.f & wr) !== 0 || (n.f & Qe) !== 0;
|
|
743
|
-
|
|
743
|
+
hn(n, t, o ? r : !1), n = i;
|
|
744
744
|
}
|
|
745
745
|
}
|
|
746
746
|
}
|
|
747
747
|
function fr(e) {
|
|
748
|
-
|
|
748
|
+
Li(e, !0);
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function Li(e, t) {
|
|
751
751
|
if ((e.f & We) !== 0) {
|
|
752
752
|
e.f ^= We;
|
|
753
753
|
for (var r = e.first; r !== null; ) {
|
|
754
754
|
var n = r.next, i = (r.f & wr) !== 0 || (r.f & Qe) !== 0;
|
|
755
|
-
|
|
755
|
+
Li(r, i ? t : !1), r = n;
|
|
756
756
|
}
|
|
757
757
|
if (e.transitions !== null)
|
|
758
758
|
for (const o of e.transitions)
|
|
@@ -760,7 +760,7 @@ function Si(e, t) {
|
|
|
760
760
|
}
|
|
761
761
|
}
|
|
762
762
|
let Ft = [], Yr = [];
|
|
763
|
-
function
|
|
763
|
+
function zi() {
|
|
764
764
|
var e = Ft;
|
|
765
765
|
Ft = [], Pt(e);
|
|
766
766
|
}
|
|
@@ -769,26 +769,26 @@ function la() {
|
|
|
769
769
|
Yr = [], Pt(e);
|
|
770
770
|
}
|
|
771
771
|
function Gt(e) {
|
|
772
|
-
Ft.length === 0 && queueMicrotask(
|
|
772
|
+
Ft.length === 0 && queueMicrotask(zi), Ft.push(e);
|
|
773
773
|
}
|
|
774
|
-
function
|
|
775
|
-
Ft.length > 0 &&
|
|
774
|
+
function ca() {
|
|
775
|
+
Ft.length > 0 && zi(), Yr.length > 0 && la();
|
|
776
776
|
}
|
|
777
|
-
function
|
|
777
|
+
function ua(e) {
|
|
778
778
|
var t = (
|
|
779
779
|
/** @type {Effect} */
|
|
780
780
|
Z
|
|
781
781
|
);
|
|
782
782
|
if ((t.f & ii) === 0) {
|
|
783
|
-
if ((t.f &
|
|
783
|
+
if ((t.f & cn) === 0)
|
|
784
784
|
throw e;
|
|
785
785
|
t.fn(e);
|
|
786
786
|
} else
|
|
787
|
-
|
|
787
|
+
Mi(e, t);
|
|
788
788
|
}
|
|
789
|
-
function
|
|
789
|
+
function Mi(e, t) {
|
|
790
790
|
for (; t !== null; ) {
|
|
791
|
-
if ((t.f &
|
|
791
|
+
if ((t.f & cn) !== 0)
|
|
792
792
|
try {
|
|
793
793
|
t.b.error(e);
|
|
794
794
|
return;
|
|
@@ -798,9 +798,9 @@ function zi(e, t) {
|
|
|
798
798
|
}
|
|
799
799
|
throw e;
|
|
800
800
|
}
|
|
801
|
-
let Zt = !1, Yt = null, dt = !1,
|
|
801
|
+
let Zt = !1, Yt = null, dt = !1, Mt = !1;
|
|
802
802
|
function jn(e) {
|
|
803
|
-
|
|
803
|
+
Mt = e;
|
|
804
804
|
}
|
|
805
805
|
let Ot = [];
|
|
806
806
|
let R = null, Be = !1;
|
|
@@ -812,16 +812,16 @@ function st(e) {
|
|
|
812
812
|
Z = e;
|
|
813
813
|
}
|
|
814
814
|
let le = null;
|
|
815
|
-
function
|
|
815
|
+
function Ii(e) {
|
|
816
816
|
R !== null && R.f & Rr && (le === null ? le = { reaction: R, sources: [e] } : le.sources.push(e));
|
|
817
817
|
}
|
|
818
|
-
let me = null,
|
|
818
|
+
let me = null, Se = 0, Me = null;
|
|
819
819
|
function da(e) {
|
|
820
|
-
|
|
820
|
+
Me = e;
|
|
821
821
|
}
|
|
822
|
-
let
|
|
823
|
-
function
|
|
824
|
-
return ++
|
|
822
|
+
let hr = 1, br = 0, it = !1;
|
|
823
|
+
function Ni() {
|
|
824
|
+
return ++hr;
|
|
825
825
|
}
|
|
826
826
|
function Xt(e) {
|
|
827
827
|
var d;
|
|
@@ -829,109 +829,109 @@ function Xt(e) {
|
|
|
829
829
|
if ((t & Xe) !== 0)
|
|
830
830
|
return !0;
|
|
831
831
|
if ((t & lt) !== 0) {
|
|
832
|
-
var r = e.deps, n = (t &
|
|
832
|
+
var r = e.deps, n = (t & Le) !== 0;
|
|
833
833
|
if (r !== null) {
|
|
834
834
|
var i, o, s = (t & vr) !== 0, a = n && Z !== null && !it, l = r.length;
|
|
835
835
|
if (s || a) {
|
|
836
|
-
var
|
|
836
|
+
var c = (
|
|
837
837
|
/** @type {Derived} */
|
|
838
838
|
e
|
|
839
|
-
), f =
|
|
839
|
+
), f = c.parent;
|
|
840
840
|
for (i = 0; i < l; i++)
|
|
841
|
-
o = r[i], (s || !((d = o == null ? void 0 : o.reactions) != null && d.includes(
|
|
842
|
-
s && (
|
|
841
|
+
o = r[i], (s || !((d = o == null ? void 0 : o.reactions) != null && d.includes(c))) && (o.reactions ?? (o.reactions = [])).push(c);
|
|
842
|
+
s && (c.f ^= vr), a && f !== null && (f.f & Le) === 0 && (c.f ^= Le);
|
|
843
843
|
}
|
|
844
844
|
for (i = 0; i < l; i++)
|
|
845
845
|
if (o = r[i], Xt(
|
|
846
846
|
/** @type {Derived} */
|
|
847
847
|
o
|
|
848
|
-
) &&
|
|
848
|
+
) && hi(
|
|
849
849
|
/** @type {Derived} */
|
|
850
850
|
o
|
|
851
851
|
), o.wv > e.wv)
|
|
852
852
|
return !0;
|
|
853
853
|
}
|
|
854
|
-
(!n || Z !== null && !it) && Pe(e,
|
|
854
|
+
(!n || Z !== null && !it) && Pe(e, ze);
|
|
855
855
|
}
|
|
856
856
|
return !1;
|
|
857
857
|
}
|
|
858
|
-
function
|
|
858
|
+
function Ti(e, t, r = !0) {
|
|
859
859
|
var n = e.reactions;
|
|
860
860
|
if (n !== null)
|
|
861
861
|
for (var i = 0; i < n.length; i++) {
|
|
862
862
|
var o = n[i];
|
|
863
|
-
(le == null ? void 0 : le.reaction) === R && le.sources.includes(e) || ((o.f &
|
|
863
|
+
(le == null ? void 0 : le.reaction) === R && le.sources.includes(e) || ((o.f & Te) !== 0 ? Ti(
|
|
864
864
|
/** @type {Derived} */
|
|
865
865
|
o,
|
|
866
866
|
t,
|
|
867
867
|
!1
|
|
868
|
-
) : t === o && (r ? Pe(o, Xe) : (o.f &
|
|
868
|
+
) : t === o && (r ? Pe(o, Xe) : (o.f & ze) !== 0 && Pe(o, lt), Er(
|
|
869
869
|
/** @type {Effect} */
|
|
870
870
|
o
|
|
871
871
|
)));
|
|
872
872
|
}
|
|
873
873
|
}
|
|
874
|
-
function
|
|
874
|
+
function Di(e) {
|
|
875
875
|
var v;
|
|
876
|
-
var t = me, r =
|
|
876
|
+
var t = me, r = Se, n = Me, i = R, o = it, s = le, a = Q, l = Be, c = e.f;
|
|
877
877
|
me = /** @type {null | Value[]} */
|
|
878
|
-
null,
|
|
878
|
+
null, Se = 0, Me = null, it = (c & Le) !== 0 && (Be || !dt || R === null), R = (c & (Qe | ht)) === 0 ? e : null, le = null, Vn(e.ctx), Be = !1, br++, e.f |= Rr, e.ac !== null && (e.ac.abort(ai), e.ac = null);
|
|
879
879
|
try {
|
|
880
880
|
var f = (
|
|
881
881
|
/** @type {Function} */
|
|
882
882
|
(0, e.fn)()
|
|
883
883
|
), d = e.deps;
|
|
884
884
|
if (me !== null) {
|
|
885
|
-
var
|
|
886
|
-
if (
|
|
887
|
-
for (d.length =
|
|
888
|
-
d[
|
|
885
|
+
var u;
|
|
886
|
+
if (pr(e, Se), d !== null && Se > 0)
|
|
887
|
+
for (d.length = Se + me.length, u = 0; u < me.length; u++)
|
|
888
|
+
d[Se + u] = me[u];
|
|
889
889
|
else
|
|
890
890
|
e.deps = d = me;
|
|
891
891
|
if (!it || // Deriveds that already have reactions can cleanup, so we still add them as reactions
|
|
892
|
-
(
|
|
892
|
+
(c & Te) !== 0 && /** @type {import('#client').Derived} */
|
|
893
893
|
e.reactions !== null)
|
|
894
|
-
for (
|
|
895
|
-
((v = d[
|
|
896
|
-
} else d !== null &&
|
|
897
|
-
if (
|
|
898
|
-
for (
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
894
|
+
for (u = Se; u < d.length; u++)
|
|
895
|
+
((v = d[u]).reactions ?? (v.reactions = [])).push(e);
|
|
896
|
+
} else d !== null && Se < d.length && (pr(e, Se), d.length = Se);
|
|
897
|
+
if (_r() && Me !== null && !Be && d !== null && (e.f & (Te | lt | Xe)) === 0)
|
|
898
|
+
for (u = 0; u < /** @type {Source[]} */
|
|
899
|
+
Me.length; u++)
|
|
900
|
+
Ti(
|
|
901
|
+
Me[u],
|
|
902
902
|
/** @type {Effect} */
|
|
903
903
|
e
|
|
904
904
|
);
|
|
905
|
-
return i !== null && i !== e && (
|
|
906
|
-
|
|
907
|
-
} catch (
|
|
908
|
-
|
|
905
|
+
return i !== null && i !== e && (br++, Me !== null && (n === null ? n = Me : n.push(.../** @type {Source[]} */
|
|
906
|
+
Me))), f;
|
|
907
|
+
} catch (h) {
|
|
908
|
+
ua(h);
|
|
909
909
|
} finally {
|
|
910
|
-
me = t,
|
|
910
|
+
me = t, Se = r, Me = n, R = i, it = o, le = s, Vn(a), Be = l, e.f ^= Rr;
|
|
911
911
|
}
|
|
912
912
|
}
|
|
913
913
|
function va(e, t) {
|
|
914
914
|
let r = t.reactions;
|
|
915
915
|
if (r !== null) {
|
|
916
|
-
var n =
|
|
916
|
+
var n = To.call(r, e);
|
|
917
917
|
if (n !== -1) {
|
|
918
918
|
var i = r.length - 1;
|
|
919
919
|
i === 0 ? r = t.reactions = null : (r[n] = r[i], r.pop());
|
|
920
920
|
}
|
|
921
921
|
}
|
|
922
|
-
r === null && (t.f &
|
|
922
|
+
r === null && (t.f & Te) !== 0 && // Destroying a child effect while updating a parent effect can cause a dependency to appear
|
|
923
923
|
// to be unused, when in fact it is used by the currently-updating parent. Checking `new_deps`
|
|
924
924
|
// allows us to skip the expensive work of disconnecting and immediately reconnecting it
|
|
925
|
-
(me === null || !me.includes(t)) && (Pe(t, lt), (t.f & (
|
|
925
|
+
(me === null || !me.includes(t)) && (Pe(t, lt), (t.f & (Le | vr)) === 0 && (t.f ^= vr), vi(
|
|
926
926
|
/** @type {Derived} **/
|
|
927
927
|
t
|
|
928
|
-
),
|
|
928
|
+
), pr(
|
|
929
929
|
/** @type {Derived} **/
|
|
930
930
|
t,
|
|
931
931
|
0
|
|
932
932
|
));
|
|
933
933
|
}
|
|
934
|
-
function
|
|
934
|
+
function pr(e, t) {
|
|
935
935
|
var r = e.deps;
|
|
936
936
|
if (r !== null)
|
|
937
937
|
for (var n = t; n < r.length; n++)
|
|
@@ -939,14 +939,14 @@ function br(e, t) {
|
|
|
939
939
|
}
|
|
940
940
|
function Cr(e) {
|
|
941
941
|
var t = e.f;
|
|
942
|
-
if ((t &
|
|
943
|
-
Pe(e,
|
|
942
|
+
if ((t & un) === 0) {
|
|
943
|
+
Pe(e, ze);
|
|
944
944
|
var r = Z, n = dt;
|
|
945
945
|
Z = e, dt = !0;
|
|
946
946
|
try {
|
|
947
947
|
(t & ln) !== 0 ? aa(e) : Ci(e), xi(e);
|
|
948
|
-
var i =
|
|
949
|
-
e.teardown = typeof i == "function" ? i : null, e.wv =
|
|
948
|
+
var i = Di(e);
|
|
949
|
+
e.teardown = typeof i == "function" ? i : null, e.wv = hr;
|
|
950
950
|
var o;
|
|
951
951
|
Un && Yo && (e.f & Xe) !== 0 && e.deps;
|
|
952
952
|
} finally {
|
|
@@ -959,12 +959,12 @@ function fa() {
|
|
|
959
959
|
Po();
|
|
960
960
|
} catch (e) {
|
|
961
961
|
if (Yt !== null)
|
|
962
|
-
|
|
962
|
+
Mi(e, Yt);
|
|
963
963
|
else
|
|
964
964
|
throw e;
|
|
965
965
|
}
|
|
966
966
|
}
|
|
967
|
-
function
|
|
967
|
+
function $i() {
|
|
968
968
|
var e = dt;
|
|
969
969
|
try {
|
|
970
970
|
var t = 0;
|
|
@@ -973,8 +973,8 @@ function Di() {
|
|
|
973
973
|
var r = Ot, n = r.length;
|
|
974
974
|
Ot = [];
|
|
975
975
|
for (var i = 0; i < n; i++) {
|
|
976
|
-
var o =
|
|
977
|
-
|
|
976
|
+
var o = ba(r[i]);
|
|
977
|
+
ha(o);
|
|
978
978
|
}
|
|
979
979
|
Bt.clear();
|
|
980
980
|
}
|
|
@@ -982,14 +982,14 @@ function Di() {
|
|
|
982
982
|
Zt = !1, dt = e, Yt = null;
|
|
983
983
|
}
|
|
984
984
|
}
|
|
985
|
-
function
|
|
985
|
+
function ha(e) {
|
|
986
986
|
var t = e.length;
|
|
987
987
|
if (t !== 0) {
|
|
988
988
|
for (var r = 0; r < t; r++) {
|
|
989
989
|
var n = e[r];
|
|
990
|
-
if ((n.f & (
|
|
991
|
-
var i =
|
|
992
|
-
if (Cr(n), n.deps === null && n.first === null && n.nodes_start === null && (n.teardown === null ? Ei(n) : n.fn = null),
|
|
990
|
+
if ((n.f & (un | We)) === 0 && Xt(n)) {
|
|
991
|
+
var i = hr;
|
|
992
|
+
if (Cr(n), n.deps === null && n.first === null && n.nodes_start === null && (n.teardown === null ? Ei(n) : n.fn = null), hr > i && (n.f & dn) !== 0)
|
|
993
993
|
break;
|
|
994
994
|
}
|
|
995
995
|
}
|
|
@@ -998,22 +998,22 @@ function ga(e) {
|
|
|
998
998
|
}
|
|
999
999
|
}
|
|
1000
1000
|
function Er(e) {
|
|
1001
|
-
Zt || (Zt = !0, queueMicrotask(
|
|
1001
|
+
Zt || (Zt = !0, queueMicrotask($i));
|
|
1002
1002
|
for (var t = Yt = e; t.parent !== null; ) {
|
|
1003
1003
|
t = t.parent;
|
|
1004
1004
|
var r = t.f;
|
|
1005
|
-
if ((r & (
|
|
1006
|
-
if ((r &
|
|
1007
|
-
t.f ^=
|
|
1005
|
+
if ((r & (ht | Qe)) !== 0) {
|
|
1006
|
+
if ((r & ze) === 0) return;
|
|
1007
|
+
t.f ^= ze;
|
|
1008
1008
|
}
|
|
1009
1009
|
}
|
|
1010
1010
|
Ot.push(t);
|
|
1011
1011
|
}
|
|
1012
|
-
function
|
|
1012
|
+
function ba(e) {
|
|
1013
1013
|
for (var t = [], r = e; r !== null; ) {
|
|
1014
|
-
var n = r.f, i = (n & (Qe |
|
|
1014
|
+
var n = r.f, i = (n & (Qe | ht)) !== 0, o = i && (n & ze) !== 0;
|
|
1015
1015
|
if (!o && (n & We) === 0) {
|
|
1016
|
-
(n & sn) !== 0 ? t.push(r) : i ? r.f ^=
|
|
1016
|
+
(n & sn) !== 0 ? t.push(r) : i ? r.f ^= ze : Xt(r) && Cr(r);
|
|
1017
1017
|
var s = r.first;
|
|
1018
1018
|
if (s !== null) {
|
|
1019
1019
|
r = s;
|
|
@@ -1028,18 +1028,18 @@ function ha(e) {
|
|
|
1028
1028
|
}
|
|
1029
1029
|
function w(e) {
|
|
1030
1030
|
for (var t; ; ) {
|
|
1031
|
-
if (
|
|
1031
|
+
if (ca(), Ot.length === 0)
|
|
1032
1032
|
return Zt = !1, Yt = null, /** @type {T} */
|
|
1033
1033
|
t;
|
|
1034
|
-
Zt = !0,
|
|
1034
|
+
Zt = !0, $i();
|
|
1035
1035
|
}
|
|
1036
1036
|
}
|
|
1037
1037
|
function m(e) {
|
|
1038
|
-
var t = e.f, r = (t &
|
|
1038
|
+
var t = e.f, r = (t & Te) !== 0;
|
|
1039
1039
|
if (R !== null && !Be) {
|
|
1040
1040
|
if ((le == null ? void 0 : le.reaction) !== R || !(le != null && le.sources.includes(e))) {
|
|
1041
1041
|
var n = R.deps;
|
|
1042
|
-
e.rv <
|
|
1042
|
+
e.rv < br && (e.rv = br, me === null && n !== null && n[Se] === e ? Se++ : me === null ? me = [e] : (!it || !me.includes(e)) && me.push(e));
|
|
1043
1043
|
}
|
|
1044
1044
|
} else if (r && /** @type {Derived} */
|
|
1045
1045
|
e.deps === null && /** @type {Derived} */
|
|
@@ -1048,10 +1048,10 @@ function m(e) {
|
|
|
1048
1048
|
/** @type {Derived} */
|
|
1049
1049
|
e
|
|
1050
1050
|
), o = i.parent;
|
|
1051
|
-
o !== null && (o.f &
|
|
1051
|
+
o !== null && (o.f & Le) === 0 && (i.f ^= Le);
|
|
1052
1052
|
}
|
|
1053
1053
|
return r && (i = /** @type {Derived} */
|
|
1054
|
-
e, Xt(i) &&
|
|
1054
|
+
e, Xt(i) && hi(i)), Mt && Bt.has(e) ? Bt.get(e) : e.v;
|
|
1055
1055
|
}
|
|
1056
1056
|
function He(e) {
|
|
1057
1057
|
var t = Be;
|
|
@@ -1061,11 +1061,11 @@ function He(e) {
|
|
|
1061
1061
|
Be = t;
|
|
1062
1062
|
}
|
|
1063
1063
|
}
|
|
1064
|
-
const
|
|
1064
|
+
const pa = -7169;
|
|
1065
1065
|
function Pe(e, t) {
|
|
1066
|
-
e.f = e.f &
|
|
1066
|
+
e.f = e.f & pa | t;
|
|
1067
1067
|
}
|
|
1068
|
-
function
|
|
1068
|
+
function qi(e) {
|
|
1069
1069
|
if (!(typeof e != "object" || !e || e instanceof EventTarget)) {
|
|
1070
1070
|
if (Fe in e)
|
|
1071
1071
|
Kr(e);
|
|
@@ -1099,7 +1099,7 @@ function Kr(e, t = /* @__PURE__ */ new Set()) {
|
|
|
1099
1099
|
}
|
|
1100
1100
|
}
|
|
1101
1101
|
}
|
|
1102
|
-
function
|
|
1102
|
+
function ga(e, t) {
|
|
1103
1103
|
if (t) {
|
|
1104
1104
|
const r = document.body;
|
|
1105
1105
|
e.autofocus = !0, Gt(() => {
|
|
@@ -1126,12 +1126,12 @@ function Ui(e, t, r, n = {}) {
|
|
|
1126
1126
|
t.addEventListener(e, i, n);
|
|
1127
1127
|
}) : t.addEventListener(e, i, n), i;
|
|
1128
1128
|
}
|
|
1129
|
-
function
|
|
1129
|
+
function be(e, t, r, n, i) {
|
|
1130
1130
|
var o = { capture: n, passive: i }, s = Ui(e, t, r, o);
|
|
1131
1131
|
(t === document.body || // @ts-ignore
|
|
1132
1132
|
t === window || // @ts-ignore
|
|
1133
1133
|
t === document || // Firefox has quirky behavior, it can happen that we still get "canplay" events when the element is already removed
|
|
1134
|
-
t instanceof HTMLMediaElement) &&
|
|
1134
|
+
t instanceof HTMLMediaElement) && yr(() => {
|
|
1135
1135
|
t.removeEventListener(e, s, o);
|
|
1136
1136
|
});
|
|
1137
1137
|
}
|
|
@@ -1142,11 +1142,11 @@ function Qt(e) {
|
|
|
1142
1142
|
r(e);
|
|
1143
1143
|
}
|
|
1144
1144
|
function Ht(e) {
|
|
1145
|
-
var
|
|
1145
|
+
var g;
|
|
1146
1146
|
var t = this, r = (
|
|
1147
1147
|
/** @type {Node} */
|
|
1148
1148
|
t.ownerDocument
|
|
1149
|
-
), n = e.type, i = ((
|
|
1149
|
+
), n = e.type, i = ((g = e.composedPath) == null ? void 0 : g.call(e)) || [], o = (
|
|
1150
1150
|
/** @type {null | Element} */
|
|
1151
1151
|
i[0] || e.target
|
|
1152
1152
|
), s = 0, a = e.__root;
|
|
@@ -1157,10 +1157,10 @@ function Ht(e) {
|
|
|
1157
1157
|
e.__root = t;
|
|
1158
1158
|
return;
|
|
1159
1159
|
}
|
|
1160
|
-
var
|
|
1161
|
-
if (
|
|
1160
|
+
var c = i.indexOf(t);
|
|
1161
|
+
if (c === -1)
|
|
1162
1162
|
return;
|
|
1163
|
-
l <=
|
|
1163
|
+
l <= c && (s = l);
|
|
1164
1164
|
}
|
|
1165
1165
|
if (o = /** @type {Element} */
|
|
1166
1166
|
i[s] || e.target, o !== t) {
|
|
@@ -1173,33 +1173,33 @@ function Ht(e) {
|
|
|
1173
1173
|
var f = R, d = Z;
|
|
1174
1174
|
Ye(null), st(null);
|
|
1175
1175
|
try {
|
|
1176
|
-
for (var
|
|
1177
|
-
var
|
|
1176
|
+
for (var u, v = []; o !== null; ) {
|
|
1177
|
+
var h = o.assignedSlot || o.parentNode || /** @type {any} */
|
|
1178
1178
|
o.host || null;
|
|
1179
1179
|
try {
|
|
1180
|
-
var
|
|
1181
|
-
if (
|
|
1180
|
+
var y = o["__" + n];
|
|
1181
|
+
if (y != null && (!/** @type {any} */
|
|
1182
1182
|
o.disabled || // DOM could've been updated already by the time this is reached, so we check this as well
|
|
1183
1183
|
// -> the target could not have been disabled because it emits the event in the first place
|
|
1184
1184
|
e.target === o))
|
|
1185
|
-
if (mr(
|
|
1186
|
-
var [
|
|
1187
|
-
|
|
1185
|
+
if (mr(y)) {
|
|
1186
|
+
var [S, ...L] = y;
|
|
1187
|
+
S.apply(o, [e, ...L]);
|
|
1188
1188
|
} else
|
|
1189
|
-
|
|
1190
|
-
} catch (
|
|
1191
|
-
|
|
1189
|
+
y.call(o, e);
|
|
1190
|
+
} catch (b) {
|
|
1191
|
+
u ? v.push(b) : u = b;
|
|
1192
1192
|
}
|
|
1193
|
-
if (e.cancelBubble ||
|
|
1193
|
+
if (e.cancelBubble || h === t || h === null)
|
|
1194
1194
|
break;
|
|
1195
|
-
o =
|
|
1195
|
+
o = h;
|
|
1196
1196
|
}
|
|
1197
|
-
if (
|
|
1198
|
-
for (let
|
|
1197
|
+
if (u) {
|
|
1198
|
+
for (let b of v)
|
|
1199
1199
|
queueMicrotask(() => {
|
|
1200
|
-
throw
|
|
1200
|
+
throw b;
|
|
1201
1201
|
});
|
|
1202
|
-
throw
|
|
1202
|
+
throw u;
|
|
1203
1203
|
}
|
|
1204
1204
|
} finally {
|
|
1205
1205
|
e.__root = t, delete e.currentTarget, Ye(f), st(d);
|
|
@@ -1219,20 +1219,20 @@ function Ge(e, t) {
|
|
|
1219
1219
|
}
|
|
1220
1220
|
// @__NO_SIDE_EFFECTS__
|
|
1221
1221
|
function te(e, t) {
|
|
1222
|
-
var r = (t & ri) !== 0, n = (t &
|
|
1222
|
+
var r = (t & ri) !== 0, n = (t & Mo) !== 0, i, o = !e.startsWith("<!>");
|
|
1223
1223
|
return () => {
|
|
1224
1224
|
if (H)
|
|
1225
1225
|
return Ge(F, null), F;
|
|
1226
1226
|
i === void 0 && (i = Hi(o ? e : "<!>" + e), r || (i = /** @type {Node} */
|
|
1227
|
-
/* @__PURE__ */
|
|
1227
|
+
/* @__PURE__ */ Ne(i)));
|
|
1228
1228
|
var s = (
|
|
1229
1229
|
/** @type {TemplateNode} */
|
|
1230
|
-
n ||
|
|
1230
|
+
n || gi ? document.importNode(i, !0) : i.cloneNode(!0)
|
|
1231
1231
|
);
|
|
1232
1232
|
if (r) {
|
|
1233
1233
|
var a = (
|
|
1234
1234
|
/** @type {TemplateNode} */
|
|
1235
|
-
/* @__PURE__ */
|
|
1235
|
+
/* @__PURE__ */ Ne(s)
|
|
1236
1236
|
), l = (
|
|
1237
1237
|
/** @type {TemplateNode} */
|
|
1238
1238
|
s.lastChild
|
|
@@ -1255,49 +1255,49 @@ function wa(e, t, r = "svg") {
|
|
|
1255
1255
|
Hi(o)
|
|
1256
1256
|
), l = (
|
|
1257
1257
|
/** @type {Element} */
|
|
1258
|
-
/* @__PURE__ */
|
|
1258
|
+
/* @__PURE__ */ Ne(a)
|
|
1259
1259
|
);
|
|
1260
1260
|
if (i)
|
|
1261
|
-
for (s = document.createDocumentFragment(); /* @__PURE__ */
|
|
1261
|
+
for (s = document.createDocumentFragment(); /* @__PURE__ */ Ne(l); )
|
|
1262
1262
|
s.appendChild(
|
|
1263
1263
|
/** @type {Node} */
|
|
1264
|
-
/* @__PURE__ */
|
|
1264
|
+
/* @__PURE__ */ Ne(l)
|
|
1265
1265
|
);
|
|
1266
1266
|
else
|
|
1267
1267
|
s = /** @type {Element} */
|
|
1268
|
-
/* @__PURE__ */
|
|
1268
|
+
/* @__PURE__ */ Ne(l);
|
|
1269
1269
|
}
|
|
1270
|
-
var
|
|
1270
|
+
var c = (
|
|
1271
1271
|
/** @type {TemplateNode} */
|
|
1272
1272
|
s.cloneNode(!0)
|
|
1273
1273
|
);
|
|
1274
1274
|
if (i) {
|
|
1275
1275
|
var f = (
|
|
1276
1276
|
/** @type {TemplateNode} */
|
|
1277
|
-
/* @__PURE__ */
|
|
1277
|
+
/* @__PURE__ */ Ne(c)
|
|
1278
1278
|
), d = (
|
|
1279
1279
|
/** @type {TemplateNode} */
|
|
1280
|
-
|
|
1280
|
+
c.lastChild
|
|
1281
1281
|
);
|
|
1282
1282
|
Ge(f, d);
|
|
1283
1283
|
} else
|
|
1284
|
-
Ge(
|
|
1285
|
-
return
|
|
1284
|
+
Ge(c, c);
|
|
1285
|
+
return c;
|
|
1286
1286
|
};
|
|
1287
1287
|
}
|
|
1288
1288
|
// @__NO_SIDE_EFFECTS__
|
|
1289
1289
|
function oe(e, t) {
|
|
1290
1290
|
return /* @__PURE__ */ wa(e, t, "svg");
|
|
1291
1291
|
}
|
|
1292
|
-
function
|
|
1292
|
+
function bt() {
|
|
1293
1293
|
if (H)
|
|
1294
1294
|
return Ge(F, null), F;
|
|
1295
1295
|
var e = document.createDocumentFragment(), t = document.createComment(""), r = xt();
|
|
1296
1296
|
return e.append(t, r), Ge(t, r), e;
|
|
1297
1297
|
}
|
|
1298
|
-
function
|
|
1298
|
+
function M(e, t) {
|
|
1299
1299
|
if (H) {
|
|
1300
|
-
Z.nodes_end = F,
|
|
1300
|
+
Z.nodes_end = F, Lt();
|
|
1301
1301
|
return;
|
|
1302
1302
|
}
|
|
1303
1303
|
e !== null && e.before(
|
|
@@ -1305,10 +1305,10 @@ function z(e, t) {
|
|
|
1305
1305
|
t
|
|
1306
1306
|
);
|
|
1307
1307
|
}
|
|
1308
|
-
function
|
|
1308
|
+
function _a(e) {
|
|
1309
1309
|
return e.endsWith("capture") && e !== "gotpointercapture" && e !== "lostpointercapture";
|
|
1310
1310
|
}
|
|
1311
|
-
const
|
|
1311
|
+
const ka = [
|
|
1312
1312
|
"beforeinput",
|
|
1313
1313
|
"click",
|
|
1314
1314
|
"change",
|
|
@@ -1333,8 +1333,8 @@ const _a = [
|
|
|
1333
1333
|
"touchmove",
|
|
1334
1334
|
"touchstart"
|
|
1335
1335
|
];
|
|
1336
|
-
function
|
|
1337
|
-
return
|
|
1336
|
+
function ya(e) {
|
|
1337
|
+
return ka.includes(e);
|
|
1338
1338
|
}
|
|
1339
1339
|
const xa = {
|
|
1340
1340
|
// no `class: 'className'` because we handle that separately
|
|
@@ -1355,7 +1355,7 @@ function Ca(e) {
|
|
|
1355
1355
|
return e = e.toLowerCase(), xa[e] ?? e;
|
|
1356
1356
|
}
|
|
1357
1357
|
const Ea = ["touchstart", "touchmove"];
|
|
1358
|
-
function
|
|
1358
|
+
function Sa(e) {
|
|
1359
1359
|
return Ea.includes(e);
|
|
1360
1360
|
}
|
|
1361
1361
|
function Kt(e, t) {
|
|
@@ -1365,91 +1365,91 @@ function Kt(e, t) {
|
|
|
1365
1365
|
function Oi(e, t) {
|
|
1366
1366
|
return Vi(e, t);
|
|
1367
1367
|
}
|
|
1368
|
-
function
|
|
1368
|
+
function La(e, t) {
|
|
1369
1369
|
Fr(), t.intro = t.intro ?? !1;
|
|
1370
1370
|
const r = t.target, n = H, i = F;
|
|
1371
1371
|
try {
|
|
1372
1372
|
for (var o = (
|
|
1373
1373
|
/** @type {TemplateNode} */
|
|
1374
|
-
/* @__PURE__ */
|
|
1374
|
+
/* @__PURE__ */ Ne(r)
|
|
1375
1375
|
); o && (o.nodeType !== Rt || /** @type {Comment} */
|
|
1376
1376
|
o.data !== tn); )
|
|
1377
1377
|
o = /** @type {TemplateNode} */
|
|
1378
1378
|
/* @__PURE__ */ et(o);
|
|
1379
1379
|
if (!o)
|
|
1380
|
-
throw
|
|
1380
|
+
throw kt;
|
|
1381
1381
|
Ue(!0), Oe(
|
|
1382
1382
|
/** @type {Comment} */
|
|
1383
1383
|
o
|
|
1384
|
-
),
|
|
1384
|
+
), Lt();
|
|
1385
1385
|
const s = Vi(e, { ...t, anchor: o });
|
|
1386
1386
|
if (F === null || F.nodeType !== Rt || /** @type {Comment} */
|
|
1387
1387
|
F.data !== nn)
|
|
1388
|
-
throw
|
|
1388
|
+
throw kr(), kt;
|
|
1389
1389
|
return Ue(!1), /** @type {Exports} */
|
|
1390
1390
|
s;
|
|
1391
1391
|
} catch (s) {
|
|
1392
|
-
if (s ===
|
|
1393
|
-
return t.recover === !1 && Ro(), Fr(),
|
|
1392
|
+
if (s === kt)
|
|
1393
|
+
return t.recover === !1 && Ro(), Fr(), _i(r), Ue(!1), Oi(e, t);
|
|
1394
1394
|
throw s;
|
|
1395
1395
|
} finally {
|
|
1396
1396
|
Ue(n), Oe(i);
|
|
1397
1397
|
}
|
|
1398
1398
|
}
|
|
1399
|
-
const
|
|
1399
|
+
const gt = /* @__PURE__ */ new Map();
|
|
1400
1400
|
function Vi(e, { target: t, anchor: r, props: n = {}, events: i, context: o, intro: s = !0 }) {
|
|
1401
1401
|
Fr();
|
|
1402
1402
|
var a = /* @__PURE__ */ new Set(), l = (d) => {
|
|
1403
|
-
for (var
|
|
1404
|
-
var v = d[
|
|
1403
|
+
for (var u = 0; u < d.length; u++) {
|
|
1404
|
+
var v = d[u];
|
|
1405
1405
|
if (!a.has(v)) {
|
|
1406
1406
|
a.add(v);
|
|
1407
|
-
var
|
|
1408
|
-
t.addEventListener(v, Ht, { passive:
|
|
1409
|
-
var
|
|
1410
|
-
|
|
1407
|
+
var h = Sa(v);
|
|
1408
|
+
t.addEventListener(v, Ht, { passive: h });
|
|
1409
|
+
var y = gt.get(v);
|
|
1410
|
+
y === void 0 ? (document.addEventListener(v, Ht, { passive: h }), gt.set(v, 1)) : gt.set(v, y + 1);
|
|
1411
1411
|
}
|
|
1412
1412
|
}
|
|
1413
1413
|
};
|
|
1414
1414
|
l(on(Ai)), Jr.add(l);
|
|
1415
|
-
var
|
|
1415
|
+
var c = void 0, f = na(() => {
|
|
1416
1416
|
var d = r ?? t.appendChild(xt());
|
|
1417
1417
|
return at(() => {
|
|
1418
1418
|
if (o) {
|
|
1419
1419
|
ne({});
|
|
1420
|
-
var
|
|
1420
|
+
var u = (
|
|
1421
1421
|
/** @type {ComponentContext} */
|
|
1422
1422
|
Q
|
|
1423
1423
|
);
|
|
1424
|
-
|
|
1424
|
+
u.c = o;
|
|
1425
1425
|
}
|
|
1426
1426
|
i && (n.$$events = i), H && Ge(
|
|
1427
1427
|
/** @type {TemplateNode} */
|
|
1428
1428
|
d,
|
|
1429
1429
|
null
|
|
1430
|
-
),
|
|
1430
|
+
), c = e(d, n) || {}, H && (Z.nodes_end = F), o && ie();
|
|
1431
1431
|
}), () => {
|
|
1432
|
-
var
|
|
1433
|
-
for (var
|
|
1434
|
-
t.removeEventListener(
|
|
1432
|
+
var h;
|
|
1433
|
+
for (var u of a) {
|
|
1434
|
+
t.removeEventListener(u, Ht);
|
|
1435
1435
|
var v = (
|
|
1436
1436
|
/** @type {number} */
|
|
1437
|
-
|
|
1437
|
+
gt.get(u)
|
|
1438
1438
|
);
|
|
1439
|
-
--v === 0 ? (document.removeEventListener(
|
|
1439
|
+
--v === 0 ? (document.removeEventListener(u, Ht), gt.delete(u)) : gt.set(u, v);
|
|
1440
1440
|
}
|
|
1441
|
-
Jr.delete(l), d !== r && ((
|
|
1441
|
+
Jr.delete(l), d !== r && ((h = d.parentNode) == null || h.removeChild(d));
|
|
1442
1442
|
};
|
|
1443
1443
|
});
|
|
1444
|
-
return Wr.set(
|
|
1444
|
+
return Wr.set(c, f), c;
|
|
1445
1445
|
}
|
|
1446
1446
|
let Wr = /* @__PURE__ */ new WeakMap();
|
|
1447
|
-
function
|
|
1447
|
+
function za(e, t) {
|
|
1448
1448
|
const r = Wr.get(e);
|
|
1449
1449
|
return r ? (Wr.delete(e), r(t)) : Promise.resolve();
|
|
1450
1450
|
}
|
|
1451
1451
|
function er(e) {
|
|
1452
|
-
Q === null && Jo(), Et && Q.l !== null ?
|
|
1452
|
+
Q === null && Jo(), Et && Q.l !== null ? Ma(Q).m.push(e) : Zr(() => {
|
|
1453
1453
|
const t = He(e);
|
|
1454
1454
|
if (typeof t == "function") return (
|
|
1455
1455
|
/** @type {() => void} */
|
|
@@ -1457,7 +1457,7 @@ function er(e) {
|
|
|
1457
1457
|
);
|
|
1458
1458
|
});
|
|
1459
1459
|
}
|
|
1460
|
-
function
|
|
1460
|
+
function Ma(e) {
|
|
1461
1461
|
var t = (
|
|
1462
1462
|
/** @type {ComponentContextLegacy} */
|
|
1463
1463
|
e.l
|
|
@@ -1465,37 +1465,37 @@ function za(e) {
|
|
|
1465
1465
|
return t.u ?? (t.u = { a: [], b: [], m: [] });
|
|
1466
1466
|
}
|
|
1467
1467
|
function X(e, t, [r, n] = [0, 0]) {
|
|
1468
|
-
H && r === 0 &&
|
|
1469
|
-
var i = e, o = null, s = null, a = xe, l = r > 0 ? wr : 0,
|
|
1470
|
-
const f = (
|
|
1471
|
-
|
|
1472
|
-
}, d = (
|
|
1473
|
-
if (a === (a =
|
|
1474
|
-
let
|
|
1468
|
+
H && r === 0 && Lt();
|
|
1469
|
+
var i = e, o = null, s = null, a = xe, l = r > 0 ? wr : 0, c = !1;
|
|
1470
|
+
const f = (u, v = !0) => {
|
|
1471
|
+
c = !0, d(v, u);
|
|
1472
|
+
}, d = (u, v) => {
|
|
1473
|
+
if (a === (a = u)) return;
|
|
1474
|
+
let h = !1;
|
|
1475
1475
|
if (H && n !== -1) {
|
|
1476
1476
|
if (r === 0) {
|
|
1477
|
-
const
|
|
1478
|
-
|
|
1477
|
+
const S = pi(i);
|
|
1478
|
+
S === tn ? n = 0 : S === rn ? n = 1 / 0 : (n = parseInt(S.substring(1)), n !== n && (n = a ? 1 / 0 : -1));
|
|
1479
1479
|
}
|
|
1480
|
-
const
|
|
1481
|
-
!!a ===
|
|
1480
|
+
const y = n > r;
|
|
1481
|
+
!!a === y && (i = jr(), Oe(i), Ue(!1), h = !0, n = -1);
|
|
1482
1482
|
}
|
|
1483
1483
|
a ? (o ? fr(o) : v && (o = at(() => v(i))), s && jt(s, () => {
|
|
1484
1484
|
s = null;
|
|
1485
1485
|
})) : (s ? fr(s) : v && (s = at(() => v(i, [r + 1, n]))), o && jt(o, () => {
|
|
1486
1486
|
o = null;
|
|
1487
|
-
})),
|
|
1487
|
+
})), h && Ue(!0);
|
|
1488
1488
|
};
|
|
1489
|
-
|
|
1490
|
-
|
|
1489
|
+
zt(() => {
|
|
1490
|
+
c = !1, t(f), c || d(null, null);
|
|
1491
1491
|
}, l), H && (i = F);
|
|
1492
1492
|
}
|
|
1493
|
-
function
|
|
1493
|
+
function Ia(e, t) {
|
|
1494
1494
|
return t;
|
|
1495
1495
|
}
|
|
1496
|
-
function
|
|
1496
|
+
function Na(e, t, r, n) {
|
|
1497
1497
|
for (var i = [], o = t.length, s = 0; s < o; s++)
|
|
1498
|
-
|
|
1498
|
+
hn(t[s].e, i, !0);
|
|
1499
1499
|
var a = o > 0 && i.length === 0 && r !== null;
|
|
1500
1500
|
if (a) {
|
|
1501
1501
|
var l = (
|
|
@@ -1503,156 +1503,156 @@ function Ia(e, t, r, n) {
|
|
|
1503
1503
|
/** @type {Element} */
|
|
1504
1504
|
r.parentNode
|
|
1505
1505
|
);
|
|
1506
|
-
|
|
1506
|
+
_i(l), l.append(
|
|
1507
1507
|
/** @type {Element} */
|
|
1508
1508
|
r
|
|
1509
1509
|
), n.clear(), rt(e, t[0].prev, t[o - 1].next);
|
|
1510
1510
|
}
|
|
1511
|
-
|
|
1512
|
-
for (var
|
|
1513
|
-
var f = t[
|
|
1514
|
-
a || (n.delete(f.k), rt(e, f.prev, f.next)),
|
|
1511
|
+
Si(i, () => {
|
|
1512
|
+
for (var c = 0; c < o; c++) {
|
|
1513
|
+
var f = t[c];
|
|
1514
|
+
a || (n.delete(f.k), rt(e, f.prev, f.next)), De(f.e, !a);
|
|
1515
1515
|
}
|
|
1516
1516
|
});
|
|
1517
1517
|
}
|
|
1518
1518
|
function Pi(e, t, r, n, i, o = null) {
|
|
1519
1519
|
var s = e, a = { flags: t, items: /* @__PURE__ */ new Map(), first: null }, l = (t & ei) !== 0;
|
|
1520
1520
|
if (l) {
|
|
1521
|
-
var
|
|
1521
|
+
var c = (
|
|
1522
1522
|
/** @type {Element} */
|
|
1523
1523
|
e
|
|
1524
1524
|
);
|
|
1525
1525
|
s = H ? Oe(
|
|
1526
1526
|
/** @type {Comment | Text} */
|
|
1527
|
-
/* @__PURE__ */
|
|
1528
|
-
) :
|
|
1527
|
+
/* @__PURE__ */ Ne(c)
|
|
1528
|
+
) : c.appendChild(xt());
|
|
1529
1529
|
}
|
|
1530
|
-
H &&
|
|
1531
|
-
var f = null, d = !1,
|
|
1530
|
+
H && Lt();
|
|
1531
|
+
var f = null, d = !1, u = /* @__PURE__ */ di(() => {
|
|
1532
1532
|
var v = r();
|
|
1533
1533
|
return mr(v) ? v : v == null ? [] : on(v);
|
|
1534
1534
|
});
|
|
1535
|
-
|
|
1536
|
-
var v = m(
|
|
1537
|
-
if (d &&
|
|
1535
|
+
zt(() => {
|
|
1536
|
+
var v = m(u), h = v.length;
|
|
1537
|
+
if (d && h === 0)
|
|
1538
1538
|
return;
|
|
1539
|
-
d =
|
|
1540
|
-
let
|
|
1539
|
+
d = h === 0;
|
|
1540
|
+
let y = !1;
|
|
1541
1541
|
if (H) {
|
|
1542
|
-
var
|
|
1543
|
-
|
|
1542
|
+
var S = pi(s) === rn;
|
|
1543
|
+
S !== (h === 0) && (s = jr(), Oe(s), Ue(!1), y = !0);
|
|
1544
1544
|
}
|
|
1545
1545
|
if (H) {
|
|
1546
|
-
for (var
|
|
1546
|
+
for (var L = null, g, b = 0; b < h; b++) {
|
|
1547
1547
|
if (F.nodeType === Rt && /** @type {Comment} */
|
|
1548
1548
|
F.data === nn) {
|
|
1549
1549
|
s = /** @type {Comment} */
|
|
1550
|
-
F,
|
|
1550
|
+
F, y = !0, Ue(!1);
|
|
1551
1551
|
break;
|
|
1552
1552
|
}
|
|
1553
|
-
var
|
|
1554
|
-
|
|
1553
|
+
var p = v[b], k = n(p, b);
|
|
1554
|
+
g = Ri(
|
|
1555
1555
|
F,
|
|
1556
1556
|
a,
|
|
1557
|
-
|
|
1557
|
+
L,
|
|
1558
1558
|
null,
|
|
1559
|
+
p,
|
|
1560
|
+
k,
|
|
1559
1561
|
b,
|
|
1560
|
-
_,
|
|
1561
|
-
h,
|
|
1562
1562
|
i,
|
|
1563
1563
|
t,
|
|
1564
1564
|
r
|
|
1565
|
-
), a.items.set(
|
|
1565
|
+
), a.items.set(k, g), L = g;
|
|
1566
1566
|
}
|
|
1567
|
-
|
|
1567
|
+
h > 0 && Oe(jr());
|
|
1568
1568
|
}
|
|
1569
|
-
H ||
|
|
1569
|
+
H || Ta(v, a, s, i, t, n, r), o !== null && (h === 0 ? f ? fr(f) : f = at(() => o(s)) : f !== null && jt(f, () => {
|
|
1570
1570
|
f = null;
|
|
1571
|
-
})),
|
|
1571
|
+
})), y && Ue(!0), m(u);
|
|
1572
1572
|
}), H && (s = F);
|
|
1573
1573
|
}
|
|
1574
|
-
function
|
|
1575
|
-
var
|
|
1576
|
-
var a = (i & xo) !== 0, l = (i & (Qr | en)) !== 0,
|
|
1574
|
+
function Ta(e, t, r, n, i, o, s) {
|
|
1575
|
+
var D, Y, z, I;
|
|
1576
|
+
var a = (i & xo) !== 0, l = (i & (Qr | en)) !== 0, c = e.length, f = t.items, d = t.first, u = d, v, h = null, y, S = [], L = [], g, b, p, k;
|
|
1577
1577
|
if (a)
|
|
1578
|
-
for (
|
|
1579
|
-
|
|
1580
|
-
for (
|
|
1581
|
-
if (
|
|
1582
|
-
var O =
|
|
1578
|
+
for (k = 0; k < c; k += 1)
|
|
1579
|
+
g = e[k], b = o(g, k), p = f.get(b), p !== void 0 && ((D = p.a) == null || D.measure(), (y ?? (y = /* @__PURE__ */ new Set())).add(p));
|
|
1580
|
+
for (k = 0; k < c; k += 1) {
|
|
1581
|
+
if (g = e[k], b = o(g, k), p = f.get(b), p === void 0) {
|
|
1582
|
+
var O = u ? (
|
|
1583
1583
|
/** @type {TemplateNode} */
|
|
1584
|
-
|
|
1584
|
+
u.e.nodes_start
|
|
1585
1585
|
) : r;
|
|
1586
|
-
|
|
1586
|
+
h = Ri(
|
|
1587
1587
|
O,
|
|
1588
1588
|
t,
|
|
1589
|
-
g,
|
|
1590
|
-
g === null ? t.first : g.next,
|
|
1591
|
-
p,
|
|
1592
1589
|
h,
|
|
1593
|
-
|
|
1590
|
+
h === null ? t.first : h.next,
|
|
1591
|
+
g,
|
|
1592
|
+
b,
|
|
1593
|
+
k,
|
|
1594
1594
|
n,
|
|
1595
1595
|
i,
|
|
1596
1596
|
s
|
|
1597
|
-
), f.set(
|
|
1597
|
+
), f.set(b, h), S = [], L = [], u = h.next;
|
|
1598
1598
|
continue;
|
|
1599
1599
|
}
|
|
1600
|
-
if (l &&
|
|
1601
|
-
if (v !== void 0 && v.has(
|
|
1602
|
-
if (
|
|
1603
|
-
var
|
|
1604
|
-
|
|
1605
|
-
var
|
|
1606
|
-
for (A = 0; A < q.length; A += 1)
|
|
1607
|
-
Fn(q[A], D, r);
|
|
1600
|
+
if (l && Da(p, g, k, i), (p.e.f & We) !== 0 && (fr(p.e), a && ((Y = p.a) == null || Y.unfix(), (y ?? (y = /* @__PURE__ */ new Set())).delete(p))), p !== u) {
|
|
1601
|
+
if (v !== void 0 && v.has(p)) {
|
|
1602
|
+
if (S.length < L.length) {
|
|
1603
|
+
var $ = L[0], A;
|
|
1604
|
+
h = $.prev;
|
|
1605
|
+
var N = S[0], B = S[S.length - 1];
|
|
1608
1606
|
for (A = 0; A < S.length; A += 1)
|
|
1609
|
-
|
|
1610
|
-
|
|
1607
|
+
Fn(S[A], $, r);
|
|
1608
|
+
for (A = 0; A < L.length; A += 1)
|
|
1609
|
+
v.delete(L[A]);
|
|
1610
|
+
rt(t, N.prev, B.next), rt(t, h, N), rt(t, B, $), u = $, h = B, k -= 1, S = [], L = [];
|
|
1611
1611
|
} else
|
|
1612
|
-
v.delete(
|
|
1612
|
+
v.delete(p), Fn(p, u, r), rt(t, p.prev, p.next), rt(t, p, h === null ? t.first : h.next), rt(t, h, p), h = p;
|
|
1613
1613
|
continue;
|
|
1614
1614
|
}
|
|
1615
|
-
for (
|
|
1616
|
-
(
|
|
1617
|
-
if (
|
|
1615
|
+
for (S = [], L = []; u !== null && u.k !== b; )
|
|
1616
|
+
(u.e.f & We) === 0 && (v ?? (v = /* @__PURE__ */ new Set())).add(u), L.push(u), u = u.next;
|
|
1617
|
+
if (u === null)
|
|
1618
1618
|
continue;
|
|
1619
|
-
|
|
1619
|
+
p = u;
|
|
1620
1620
|
}
|
|
1621
|
-
|
|
1621
|
+
S.push(p), h = p, u = p.next;
|
|
1622
1622
|
}
|
|
1623
|
-
if (
|
|
1624
|
-
for (var J = v === void 0 ? [] : on(v);
|
|
1625
|
-
(
|
|
1623
|
+
if (u !== null || v !== void 0) {
|
|
1624
|
+
for (var J = v === void 0 ? [] : on(v); u !== null; )
|
|
1625
|
+
(u.e.f & We) === 0 && J.push(u), u = u.next;
|
|
1626
1626
|
var W = J.length;
|
|
1627
1627
|
if (W > 0) {
|
|
1628
|
-
var
|
|
1628
|
+
var T = (i & ei) !== 0 && c === 0 ? r : null;
|
|
1629
1629
|
if (a) {
|
|
1630
|
-
for (
|
|
1631
|
-
(
|
|
1632
|
-
for (
|
|
1633
|
-
(
|
|
1630
|
+
for (k = 0; k < W; k += 1)
|
|
1631
|
+
(z = J[k].a) == null || z.measure();
|
|
1632
|
+
for (k = 0; k < W; k += 1)
|
|
1633
|
+
(I = J[k].a) == null || I.fix();
|
|
1634
1634
|
}
|
|
1635
|
-
|
|
1635
|
+
Na(t, J, T, f);
|
|
1636
1636
|
}
|
|
1637
1637
|
}
|
|
1638
1638
|
a && Gt(() => {
|
|
1639
1639
|
var V;
|
|
1640
|
-
if (
|
|
1641
|
-
for (
|
|
1642
|
-
(V =
|
|
1643
|
-
}), Z.first = t.first && t.first.e, Z.last =
|
|
1640
|
+
if (y !== void 0)
|
|
1641
|
+
for (p of y)
|
|
1642
|
+
(V = p.a) == null || V.apply();
|
|
1643
|
+
}), Z.first = t.first && t.first.e, Z.last = h && h.e;
|
|
1644
1644
|
}
|
|
1645
|
-
function
|
|
1645
|
+
function Da(e, t, r, n) {
|
|
1646
1646
|
(n & Qr) !== 0 && Br(e.v, t), (n & en) !== 0 ? Br(
|
|
1647
1647
|
/** @type {Value<number>} */
|
|
1648
1648
|
e.i,
|
|
1649
1649
|
r
|
|
1650
1650
|
) : e.i = r;
|
|
1651
1651
|
}
|
|
1652
|
-
function Ri(e, t, r, n, i, o, s, a, l,
|
|
1653
|
-
var f = (l & Qr) !== 0, d = (l & Co) === 0,
|
|
1652
|
+
function Ri(e, t, r, n, i, o, s, a, l, c) {
|
|
1653
|
+
var f = (l & Qr) !== 0, d = (l & Co) === 0, u = f ? d ? /* @__PURE__ */ ut(i, !1, !1) : yt(i) : i, v = (l & en) === 0 ? s : yt(s), h = {
|
|
1654
1654
|
i: v,
|
|
1655
|
-
v:
|
|
1655
|
+
v: u,
|
|
1656
1656
|
k: o,
|
|
1657
1657
|
a: null,
|
|
1658
1658
|
// @ts-expect-error
|
|
@@ -1661,7 +1661,7 @@ function Ri(e, t, r, n, i, o, s, a, l, u) {
|
|
|
1661
1661
|
next: n
|
|
1662
1662
|
};
|
|
1663
1663
|
try {
|
|
1664
|
-
return
|
|
1664
|
+
return h.e = at(() => a(e, u, v, c), H), h.e.prev = r && r.e, h.e.next = n && n.e, r === null ? t.first = h : (r.next = h, r.e.next = h.e), n !== null && (n.prev = h, n.e.prev = h.e), h;
|
|
1665
1665
|
} finally {
|
|
1666
1666
|
}
|
|
1667
1667
|
}
|
|
@@ -1688,18 +1688,18 @@ function rt(e, t, r) {
|
|
|
1688
1688
|
}
|
|
1689
1689
|
function ft(e, t, r, n, i) {
|
|
1690
1690
|
var a;
|
|
1691
|
-
H &&
|
|
1691
|
+
H && Lt();
|
|
1692
1692
|
var o = (a = t.$$slots) == null ? void 0 : a[r], s = !1;
|
|
1693
1693
|
o === !0 && (o = t.children, s = !0), o === void 0 || o(e, s ? () => n : n);
|
|
1694
1694
|
}
|
|
1695
|
-
function
|
|
1696
|
-
H &&
|
|
1695
|
+
function $a(e, t, r) {
|
|
1696
|
+
H && Lt();
|
|
1697
1697
|
var n = e, i, o;
|
|
1698
|
-
|
|
1698
|
+
zt(() => {
|
|
1699
1699
|
i !== (i = t()) && (o && (jt(o), o = null), i && (o = at(() => r(n, i))));
|
|
1700
1700
|
}, wr), H && (n = F);
|
|
1701
1701
|
}
|
|
1702
|
-
function
|
|
1702
|
+
function ct(e, t) {
|
|
1703
1703
|
Gt(() => {
|
|
1704
1704
|
var r = e.getRootNode(), n = (
|
|
1705
1705
|
/** @type {ShadowRoot} */
|
|
@@ -1718,10 +1718,10 @@ function ut(e, t) {
|
|
|
1718
1718
|
}
|
|
1719
1719
|
});
|
|
1720
1720
|
}
|
|
1721
|
-
function
|
|
1721
|
+
function qa(e, t) {
|
|
1722
1722
|
var r = void 0, n;
|
|
1723
|
-
|
|
1724
|
-
r !== (r = t()) && (n && (
|
|
1723
|
+
zt(() => {
|
|
1724
|
+
r !== (r = t()) && (n && (De(n), n = null), r && (n = at(() => {
|
|
1725
1725
|
fn(() => (
|
|
1726
1726
|
/** @type {(node: Element) => void} */
|
|
1727
1727
|
r(e)
|
|
@@ -1779,23 +1779,23 @@ function Oa(e, t) {
|
|
|
1779
1779
|
e = String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g, "").trim();
|
|
1780
1780
|
var o = !1, s = 0, a = !1, l = [];
|
|
1781
1781
|
n && l.push(...Object.keys(n).map(Vr)), i && l.push(...Object.keys(i).map(Vr));
|
|
1782
|
-
var
|
|
1783
|
-
const
|
|
1784
|
-
for (var d = 0; d <
|
|
1785
|
-
var
|
|
1786
|
-
if (a ?
|
|
1787
|
-
if (
|
|
1782
|
+
var c = 0, f = -1;
|
|
1783
|
+
const y = e.length;
|
|
1784
|
+
for (var d = 0; d < y; d++) {
|
|
1785
|
+
var u = e[d];
|
|
1786
|
+
if (a ? u === "/" && e[d - 1] === "*" && (a = !1) : o ? o === u && (o = !1) : u === "/" && e[d + 1] === "*" ? a = !0 : u === '"' || u === "'" ? o = u : u === "(" ? s++ : u === ")" && s--, !a && o === !1 && s === 0) {
|
|
1787
|
+
if (u === ":" && f === -1)
|
|
1788
1788
|
f = d;
|
|
1789
|
-
else if (
|
|
1789
|
+
else if (u === ";" || d === y - 1) {
|
|
1790
1790
|
if (f !== -1) {
|
|
1791
|
-
var v = Vr(e.substring(
|
|
1791
|
+
var v = Vr(e.substring(c, f).trim());
|
|
1792
1792
|
if (!l.includes(v)) {
|
|
1793
|
-
|
|
1794
|
-
var
|
|
1795
|
-
r += " " +
|
|
1793
|
+
u !== ";" && d++;
|
|
1794
|
+
var h = e.substring(c, d).trim();
|
|
1795
|
+
r += " " + h + ";";
|
|
1796
1796
|
}
|
|
1797
1797
|
}
|
|
1798
|
-
|
|
1798
|
+
c = d + 1, f = -1;
|
|
1799
1799
|
}
|
|
1800
1800
|
}
|
|
1801
1801
|
}
|
|
@@ -1811,8 +1811,8 @@ function we(e, t, r, n, i, o) {
|
|
|
1811
1811
|
(!H || a !== e.getAttribute("class")) && (a == null ? e.removeAttribute("class") : t ? e.className = a : e.setAttribute("class", a)), e.__className = r;
|
|
1812
1812
|
} else if (o && i !== o)
|
|
1813
1813
|
for (var l in o) {
|
|
1814
|
-
var
|
|
1815
|
-
(i == null ||
|
|
1814
|
+
var c = !!o[l];
|
|
1815
|
+
(i == null || c !== !!i[l]) && e.classList.toggle(l, c);
|
|
1816
1816
|
}
|
|
1817
1817
|
return o;
|
|
1818
1818
|
}
|
|
@@ -1863,7 +1863,7 @@ function Pa(e) {
|
|
|
1863
1863
|
// because that property is not reflected as an attribute)
|
|
1864
1864
|
attributes: !0,
|
|
1865
1865
|
attributeFilter: ["value"]
|
|
1866
|
-
}),
|
|
1866
|
+
}), yr(() => {
|
|
1867
1867
|
t.disconnect();
|
|
1868
1868
|
});
|
|
1869
1869
|
}
|
|
@@ -1882,109 +1882,109 @@ function Ba(e, t, r, n, i = !1) {
|
|
|
1882
1882
|
var o = Zi(e), s = o[ji], a = !o[Fi];
|
|
1883
1883
|
let l = H && s;
|
|
1884
1884
|
l && Ue(!1);
|
|
1885
|
-
var
|
|
1885
|
+
var c = t || {}, f = e.tagName === "OPTION";
|
|
1886
1886
|
for (var d in t)
|
|
1887
1887
|
d in r || (r[d] = null);
|
|
1888
1888
|
r.class ? r.class = Ua(r.class) : (n || r[wt]) && (r.class = null), r[Ut] && (r.style ?? (r.style = null));
|
|
1889
|
-
var
|
|
1890
|
-
for (const
|
|
1891
|
-
let
|
|
1892
|
-
if (f &&
|
|
1893
|
-
e.value = e.__value = "",
|
|
1889
|
+
var u = Yi(e);
|
|
1890
|
+
for (const b in r) {
|
|
1891
|
+
let p = r[b];
|
|
1892
|
+
if (f && b === "value" && p == null) {
|
|
1893
|
+
e.value = e.__value = "", c[b] = p;
|
|
1894
1894
|
continue;
|
|
1895
1895
|
}
|
|
1896
|
-
if (
|
|
1896
|
+
if (b === "class") {
|
|
1897
1897
|
var v = e.namespaceURI === "http://www.w3.org/1999/xhtml";
|
|
1898
|
-
we(e, v,
|
|
1898
|
+
we(e, v, p, n, t == null ? void 0 : t[wt], r[wt]), c[b] = p, c[wt] = r[wt];
|
|
1899
1899
|
continue;
|
|
1900
1900
|
}
|
|
1901
|
-
if (
|
|
1902
|
-
Va(e,
|
|
1901
|
+
if (b === "style") {
|
|
1902
|
+
Va(e, p, t == null ? void 0 : t[Ut], r[Ut]), c[b] = p, c[Ut] = r[Ut];
|
|
1903
1903
|
continue;
|
|
1904
1904
|
}
|
|
1905
|
-
var
|
|
1906
|
-
if (!(
|
|
1907
|
-
|
|
1908
|
-
var
|
|
1909
|
-
if (
|
|
1910
|
-
if (
|
|
1911
|
-
const
|
|
1912
|
-
let
|
|
1913
|
-
var
|
|
1914
|
-
if (
|
|
1915
|
-
if (
|
|
1916
|
-
e.removeEventListener(
|
|
1905
|
+
var h = c[b];
|
|
1906
|
+
if (!(p === h && !(p === void 0 && e.hasAttribute(b)))) {
|
|
1907
|
+
c[b] = p;
|
|
1908
|
+
var y = b[0] + b[1];
|
|
1909
|
+
if (y !== "$$")
|
|
1910
|
+
if (y === "on") {
|
|
1911
|
+
const k = {}, O = "$$" + b;
|
|
1912
|
+
let $ = b.slice(2);
|
|
1913
|
+
var S = ya($);
|
|
1914
|
+
if (_a($) && ($ = $.slice(0, -7), k.capture = !0), !S && h) {
|
|
1915
|
+
if (p != null) continue;
|
|
1916
|
+
e.removeEventListener($, c[O], k), c[O] = null;
|
|
1917
1917
|
}
|
|
1918
|
-
if (
|
|
1919
|
-
if (
|
|
1920
|
-
e[`__${
|
|
1918
|
+
if (p != null)
|
|
1919
|
+
if (S)
|
|
1920
|
+
e[`__${$}`] = p, Qt([$]);
|
|
1921
1921
|
else {
|
|
1922
|
-
let A = function(
|
|
1923
|
-
|
|
1922
|
+
let A = function(N) {
|
|
1923
|
+
c[b].call(this, N);
|
|
1924
1924
|
};
|
|
1925
|
-
|
|
1925
|
+
c[O] = Ui($, e, A, k);
|
|
1926
1926
|
}
|
|
1927
|
-
else
|
|
1928
|
-
} else if (
|
|
1929
|
-
K(e,
|
|
1930
|
-
else if (
|
|
1931
|
-
|
|
1927
|
+
else S && (e[`__${$}`] = void 0);
|
|
1928
|
+
} else if (b === "style")
|
|
1929
|
+
K(e, b, p);
|
|
1930
|
+
else if (b === "autofocus")
|
|
1931
|
+
ga(
|
|
1932
1932
|
/** @type {HTMLElement} */
|
|
1933
1933
|
e,
|
|
1934
|
-
!!
|
|
1934
|
+
!!p
|
|
1935
1935
|
);
|
|
1936
|
-
else if (!s && (
|
|
1937
|
-
e.value = e.__value =
|
|
1938
|
-
else if (
|
|
1936
|
+
else if (!s && (b === "__value" || b === "value" && p != null))
|
|
1937
|
+
e.value = e.__value = p;
|
|
1938
|
+
else if (b === "selected" && f)
|
|
1939
1939
|
Ra(
|
|
1940
1940
|
/** @type {HTMLOptionElement} */
|
|
1941
1941
|
e,
|
|
1942
|
-
|
|
1942
|
+
p
|
|
1943
1943
|
);
|
|
1944
1944
|
else {
|
|
1945
|
-
var
|
|
1946
|
-
a || (
|
|
1947
|
-
var
|
|
1948
|
-
if (
|
|
1949
|
-
if (o[
|
|
1950
|
-
let
|
|
1945
|
+
var L = b;
|
|
1946
|
+
a || (L = Ca(L));
|
|
1947
|
+
var g = L === "defaultValue" || L === "defaultChecked";
|
|
1948
|
+
if (p == null && !s && !g)
|
|
1949
|
+
if (o[b] = null, L === "value" || L === "checked") {
|
|
1950
|
+
let k = (
|
|
1951
1951
|
/** @type {HTMLInputElement} */
|
|
1952
1952
|
e
|
|
1953
1953
|
);
|
|
1954
1954
|
const O = t === void 0;
|
|
1955
|
-
if (
|
|
1956
|
-
let
|
|
1957
|
-
|
|
1955
|
+
if (L === "value") {
|
|
1956
|
+
let $ = k.defaultValue;
|
|
1957
|
+
k.removeAttribute(L), k.defaultValue = $, k.value = k.__value = O ? $ : null;
|
|
1958
1958
|
} else {
|
|
1959
|
-
let
|
|
1960
|
-
|
|
1959
|
+
let $ = k.defaultChecked;
|
|
1960
|
+
k.removeAttribute(L), k.defaultChecked = $, k.checked = O ? $ : !1;
|
|
1961
1961
|
}
|
|
1962
1962
|
} else
|
|
1963
|
-
e.removeAttribute(
|
|
1964
|
-
else
|
|
1963
|
+
e.removeAttribute(b);
|
|
1964
|
+
else g || u.includes(L) && (s || typeof p != "string") ? e[L] = p : typeof p != "function" && K(e, L, p);
|
|
1965
1965
|
}
|
|
1966
1966
|
}
|
|
1967
1967
|
}
|
|
1968
|
-
return l && Ue(!0),
|
|
1968
|
+
return l && Ue(!0), c;
|
|
1969
1969
|
}
|
|
1970
|
-
function Jt(e, t, r = [], n, i = !1, o =
|
|
1970
|
+
function Jt(e, t, r = [], n, i = !1, o = St) {
|
|
1971
1971
|
const s = r.map(o);
|
|
1972
|
-
var a = void 0, l = {},
|
|
1973
|
-
if (
|
|
1974
|
-
var
|
|
1975
|
-
f &&
|
|
1972
|
+
var a = void 0, l = {}, c = e.nodeName === "SELECT", f = !1;
|
|
1973
|
+
if (zt(() => {
|
|
1974
|
+
var u = t(...s.map(m)), v = Ba(e, a, u, n, i);
|
|
1975
|
+
f && c && "value" in u && Gr(
|
|
1976
1976
|
/** @type {HTMLSelectElement} */
|
|
1977
1977
|
e,
|
|
1978
|
-
|
|
1978
|
+
u.value
|
|
1979
1979
|
);
|
|
1980
|
-
for (let
|
|
1981
|
-
|
|
1982
|
-
for (let
|
|
1983
|
-
var
|
|
1984
|
-
|
|
1980
|
+
for (let y of Object.getOwnPropertySymbols(l))
|
|
1981
|
+
u[y] || De(l[y]);
|
|
1982
|
+
for (let y of Object.getOwnPropertySymbols(u)) {
|
|
1983
|
+
var h = u[y];
|
|
1984
|
+
y.description === No && (!a || h !== a[y]) && (l[y] && De(l[y]), l[y] = at(() => qa(e, () => h))), v[y] = h;
|
|
1985
1985
|
}
|
|
1986
1986
|
a = v;
|
|
1987
|
-
}),
|
|
1987
|
+
}), c) {
|
|
1988
1988
|
var d = (
|
|
1989
1989
|
/** @type {HTMLSelectElement} */
|
|
1990
1990
|
e
|
|
@@ -2006,7 +2006,7 @@ function Zi(e) {
|
|
|
2006
2006
|
// @ts-expect-error
|
|
2007
2007
|
e.__attributes ?? (e.__attributes = {
|
|
2008
2008
|
[ji]: e.nodeName.includes("-"),
|
|
2009
|
-
[Fi]: e.namespaceURI ===
|
|
2009
|
+
[Fi]: e.namespaceURI === Io
|
|
2010
2010
|
})
|
|
2011
2011
|
);
|
|
2012
2012
|
}
|
|
@@ -2046,17 +2046,17 @@ function ja(e = !1) {
|
|
|
2046
2046
|
Q
|
|
2047
2047
|
), r = t.l.u;
|
|
2048
2048
|
if (!r) return;
|
|
2049
|
-
let n = () =>
|
|
2049
|
+
let n = () => qi(t.s);
|
|
2050
2050
|
if (e) {
|
|
2051
2051
|
let i = 0, o = (
|
|
2052
2052
|
/** @type {Record<string, any>} */
|
|
2053
2053
|
{}
|
|
2054
2054
|
);
|
|
2055
|
-
const s = /* @__PURE__ */
|
|
2055
|
+
const s = /* @__PURE__ */ St(() => {
|
|
2056
2056
|
let a = !1;
|
|
2057
2057
|
const l = t.s;
|
|
2058
|
-
for (const
|
|
2059
|
-
l[
|
|
2058
|
+
for (const c in l)
|
|
2059
|
+
l[c] !== o[c] && (o[c] = l[c], a = !0);
|
|
2060
2060
|
return a && i++, i;
|
|
2061
2061
|
});
|
|
2062
2062
|
n = () => m(s);
|
|
@@ -2064,7 +2064,7 @@ function ja(e = !1) {
|
|
|
2064
2064
|
r.b.length && ta(() => {
|
|
2065
2065
|
Gn(t, n), Pt(r.b);
|
|
2066
2066
|
}), Zr(() => {
|
|
2067
|
-
const i = He(() => r.m.map(
|
|
2067
|
+
const i = He(() => r.m.map(qo));
|
|
2068
2068
|
return () => {
|
|
2069
2069
|
for (const o of i)
|
|
2070
2070
|
typeof o == "function" && o();
|
|
@@ -2078,7 +2078,7 @@ function Gn(e, t) {
|
|
|
2078
2078
|
for (const r of e.l.s) m(r);
|
|
2079
2079
|
t();
|
|
2080
2080
|
}
|
|
2081
|
-
function
|
|
2081
|
+
function bn(e, t, r) {
|
|
2082
2082
|
if (e == null)
|
|
2083
2083
|
return t(void 0), r && r(void 0), ot;
|
|
2084
2084
|
const n = He(
|
|
@@ -2093,20 +2093,20 @@ function hn(e, t, r) {
|
|
|
2093
2093
|
const mt = [];
|
|
2094
2094
|
function Fa(e, t) {
|
|
2095
2095
|
return {
|
|
2096
|
-
subscribe:
|
|
2096
|
+
subscribe: pn(e, t).subscribe
|
|
2097
2097
|
};
|
|
2098
2098
|
}
|
|
2099
|
-
function
|
|
2099
|
+
function pn(e, t = ot) {
|
|
2100
2100
|
let r = null;
|
|
2101
2101
|
const n = /* @__PURE__ */ new Set();
|
|
2102
2102
|
function i(a) {
|
|
2103
|
-
if (
|
|
2103
|
+
if (ci(e, a) && (e = a, r)) {
|
|
2104
2104
|
const l = !mt.length;
|
|
2105
|
-
for (const
|
|
2106
|
-
|
|
2105
|
+
for (const c of n)
|
|
2106
|
+
c[1](), mt.push(c, e);
|
|
2107
2107
|
if (l) {
|
|
2108
|
-
for (let
|
|
2109
|
-
mt[
|
|
2108
|
+
for (let c = 0; c < mt.length; c += 2)
|
|
2109
|
+
mt[c][0](mt[c + 1]);
|
|
2110
2110
|
mt.length = 0;
|
|
2111
2111
|
}
|
|
2112
2112
|
}
|
|
@@ -2118,12 +2118,12 @@ function bn(e, t = ot) {
|
|
|
2118
2118
|
));
|
|
2119
2119
|
}
|
|
2120
2120
|
function s(a, l = ot) {
|
|
2121
|
-
const
|
|
2122
|
-
return n.add(
|
|
2121
|
+
const c = [a, l];
|
|
2122
|
+
return n.add(c), n.size === 1 && (r = t(i, o) || ot), a(
|
|
2123
2123
|
/** @type {T} */
|
|
2124
2124
|
e
|
|
2125
2125
|
), () => {
|
|
2126
|
-
n.delete(
|
|
2126
|
+
n.delete(c), n.size === 0 && r && (r(), r = null);
|
|
2127
2127
|
};
|
|
2128
2128
|
}
|
|
2129
2129
|
return { set: i, update: o, subscribe: s };
|
|
@@ -2135,39 +2135,39 @@ function Za(e, t, r) {
|
|
|
2135
2135
|
const o = t.length < 2;
|
|
2136
2136
|
return Fa(r, (s, a) => {
|
|
2137
2137
|
let l = !1;
|
|
2138
|
-
const
|
|
2138
|
+
const c = [];
|
|
2139
2139
|
let f = 0, d = ot;
|
|
2140
|
-
const
|
|
2140
|
+
const u = () => {
|
|
2141
2141
|
if (f)
|
|
2142
2142
|
return;
|
|
2143
2143
|
d();
|
|
2144
|
-
const
|
|
2145
|
-
o ? s(
|
|
2144
|
+
const h = t(n ? c[0] : c, s, a);
|
|
2145
|
+
o ? s(h) : d = typeof h == "function" ? h : ot;
|
|
2146
2146
|
}, v = i.map(
|
|
2147
|
-
(
|
|
2148
|
-
|
|
2149
|
-
(
|
|
2150
|
-
|
|
2147
|
+
(h, y) => bn(
|
|
2148
|
+
h,
|
|
2149
|
+
(S) => {
|
|
2150
|
+
c[y] = S, f &= ~(1 << y), l && u();
|
|
2151
2151
|
},
|
|
2152
2152
|
() => {
|
|
2153
|
-
f |= 1 <<
|
|
2153
|
+
f |= 1 << y;
|
|
2154
2154
|
}
|
|
2155
2155
|
)
|
|
2156
2156
|
);
|
|
2157
|
-
return l = !0,
|
|
2157
|
+
return l = !0, u(), function() {
|
|
2158
2158
|
Pt(v), d(), l = !1;
|
|
2159
2159
|
};
|
|
2160
2160
|
});
|
|
2161
2161
|
}
|
|
2162
2162
|
function Ya(e) {
|
|
2163
2163
|
let t;
|
|
2164
|
-
return
|
|
2164
|
+
return bn(e, (r) => t = r)(), t;
|
|
2165
2165
|
}
|
|
2166
|
-
let
|
|
2166
|
+
let cr = !1, Xr = Symbol();
|
|
2167
2167
|
function Ve(e, t, r) {
|
|
2168
2168
|
const n = r[t] ?? (r[t] = {
|
|
2169
2169
|
store: null,
|
|
2170
|
-
source: /* @__PURE__ */
|
|
2170
|
+
source: /* @__PURE__ */ ut(void 0),
|
|
2171
2171
|
unsubscribe: ot
|
|
2172
2172
|
});
|
|
2173
2173
|
if (n.store !== e && !(Xr in r))
|
|
@@ -2175,8 +2175,8 @@ function Ve(e, t, r) {
|
|
|
2175
2175
|
n.source.v = void 0, n.unsubscribe = ot;
|
|
2176
2176
|
else {
|
|
2177
2177
|
var i = !0;
|
|
2178
|
-
n.unsubscribe =
|
|
2179
|
-
i ? n.source.v = o :
|
|
2178
|
+
n.unsubscribe = bn(e, (o) => {
|
|
2179
|
+
i ? n.source.v = o : q(n.source, o);
|
|
2180
2180
|
}), i = !1;
|
|
2181
2181
|
}
|
|
2182
2182
|
return e && Xr in r ? Ya(e) : m(n.source);
|
|
@@ -2184,7 +2184,7 @@ function Ve(e, t, r) {
|
|
|
2184
2184
|
function tr() {
|
|
2185
2185
|
const e = {};
|
|
2186
2186
|
function t() {
|
|
2187
|
-
|
|
2187
|
+
yr(() => {
|
|
2188
2188
|
for (var r in e)
|
|
2189
2189
|
e[r].unsubscribe();
|
|
2190
2190
|
Vt(e, Xr, {
|
|
@@ -2196,11 +2196,11 @@ function tr() {
|
|
|
2196
2196
|
return [e, t];
|
|
2197
2197
|
}
|
|
2198
2198
|
function Ka(e) {
|
|
2199
|
-
var t =
|
|
2199
|
+
var t = cr;
|
|
2200
2200
|
try {
|
|
2201
|
-
return
|
|
2201
|
+
return cr = !1, [e(), cr];
|
|
2202
2202
|
} finally {
|
|
2203
|
-
|
|
2203
|
+
cr = t;
|
|
2204
2204
|
}
|
|
2205
2205
|
}
|
|
2206
2206
|
const Ja = {
|
|
@@ -2227,7 +2227,7 @@ const Ja = {
|
|
|
2227
2227
|
}
|
|
2228
2228
|
};
|
|
2229
2229
|
// @__NO_SIDE_EFFECTS__
|
|
2230
|
-
function
|
|
2230
|
+
function Sr(e, t, r) {
|
|
2231
2231
|
return new Proxy(
|
|
2232
2232
|
{ props: e, exclude: t },
|
|
2233
2233
|
Ja
|
|
@@ -2239,7 +2239,7 @@ const Wa = {
|
|
|
2239
2239
|
return m(e.version), t in e.special ? e.special[t]() : e.props[t];
|
|
2240
2240
|
},
|
|
2241
2241
|
set(e, t, r) {
|
|
2242
|
-
return t in e.special || (e.special[t] =
|
|
2242
|
+
return t in e.special || (e.special[t] = _(
|
|
2243
2243
|
{
|
|
2244
2244
|
get [t]() {
|
|
2245
2245
|
return e.props[t];
|
|
@@ -2269,7 +2269,7 @@ const Wa = {
|
|
|
2269
2269
|
}
|
|
2270
2270
|
};
|
|
2271
2271
|
function Xn(e, t) {
|
|
2272
|
-
return new Proxy({ props: e, exclude: t, special: {}, version:
|
|
2272
|
+
return new Proxy({ props: e, exclude: t, special: {}, version: yt(0) }, Wa);
|
|
2273
2273
|
}
|
|
2274
2274
|
const Ga = {
|
|
2275
2275
|
get(e, t) {
|
|
@@ -2325,12 +2325,12 @@ function Xa(e) {
|
|
|
2325
2325
|
var t;
|
|
2326
2326
|
return ((t = e.ctx) == null ? void 0 : t.d) ?? !1;
|
|
2327
2327
|
}
|
|
2328
|
-
function
|
|
2329
|
-
var
|
|
2330
|
-
var i = !Et || (r &
|
|
2328
|
+
function _(e, t, r, n) {
|
|
2329
|
+
var L;
|
|
2330
|
+
var i = !Et || (r & So) !== 0, o = (r & Lo) !== 0, s = (r & zo) !== 0, a = (
|
|
2331
2331
|
/** @type {V} */
|
|
2332
2332
|
n
|
|
2333
|
-
), l = !0,
|
|
2333
|
+
), l = !0, c = () => (l && (l = !1, a = s ? He(
|
|
2334
2334
|
/** @type {() => V} */
|
|
2335
2335
|
n
|
|
2336
2336
|
) : (
|
|
@@ -2339,49 +2339,49 @@ function y(e, t, r, n) {
|
|
|
2339
2339
|
)), a), f;
|
|
2340
2340
|
if (o) {
|
|
2341
2341
|
var d = Fe in e || vn in e;
|
|
2342
|
-
f = ((
|
|
2342
|
+
f = ((L = Je(e, t)) == null ? void 0 : L.set) ?? (d && t in e ? (g) => e[t] = g : void 0);
|
|
2343
2343
|
}
|
|
2344
|
-
var
|
|
2345
|
-
o ? [
|
|
2344
|
+
var u, v = !1;
|
|
2345
|
+
o ? [u, v] = Ka(() => (
|
|
2346
2346
|
/** @type {V} */
|
|
2347
2347
|
e[t]
|
|
2348
|
-
)) :
|
|
2349
|
-
e[t],
|
|
2350
|
-
var
|
|
2351
|
-
if (i ?
|
|
2352
|
-
var
|
|
2348
|
+
)) : u = /** @type {V} */
|
|
2349
|
+
e[t], u === void 0 && n !== void 0 && (u = c(), f && (i && Bo(), f(u)));
|
|
2350
|
+
var h;
|
|
2351
|
+
if (i ? h = () => {
|
|
2352
|
+
var g = (
|
|
2353
2353
|
/** @type {V} */
|
|
2354
2354
|
e[t]
|
|
2355
2355
|
);
|
|
2356
|
-
return
|
|
2357
|
-
} :
|
|
2358
|
-
var
|
|
2356
|
+
return g === void 0 ? c() : (l = !0, g);
|
|
2357
|
+
} : h = () => {
|
|
2358
|
+
var g = (
|
|
2359
2359
|
/** @type {V} */
|
|
2360
2360
|
e[t]
|
|
2361
2361
|
);
|
|
2362
|
-
return
|
|
2363
|
-
void 0),
|
|
2362
|
+
return g !== void 0 && (a = /** @type {V} */
|
|
2363
|
+
void 0), g === void 0 ? a : g;
|
|
2364
2364
|
}, i && (r & ti) === 0)
|
|
2365
|
-
return
|
|
2365
|
+
return h;
|
|
2366
2366
|
if (f) {
|
|
2367
|
-
var
|
|
2368
|
-
return function(
|
|
2369
|
-
return arguments.length > 0 ? ((!i || !
|
|
2367
|
+
var y = e.$$legacy;
|
|
2368
|
+
return function(g, b) {
|
|
2369
|
+
return arguments.length > 0 ? ((!i || !b || y || v) && f(b ? h() : g), g) : h();
|
|
2370
2370
|
};
|
|
2371
2371
|
}
|
|
2372
|
-
var
|
|
2373
|
-
return o && m(
|
|
2372
|
+
var S = ((r & Eo) !== 0 ? St : di)(h);
|
|
2373
|
+
return o && m(S), function(g, b) {
|
|
2374
2374
|
if (arguments.length > 0) {
|
|
2375
|
-
const
|
|
2376
|
-
return
|
|
2375
|
+
const p = b ? m(S) : i && o ? _t(g) : g;
|
|
2376
|
+
return q(S, p), a !== void 0 && (a = p), g;
|
|
2377
2377
|
}
|
|
2378
|
-
return Xa(
|
|
2378
|
+
return Xa(S) ? S.v : m(S);
|
|
2379
2379
|
};
|
|
2380
2380
|
}
|
|
2381
2381
|
function Qa(e) {
|
|
2382
2382
|
return new es(e);
|
|
2383
2383
|
}
|
|
2384
|
-
var Ke,
|
|
2384
|
+
var Ke, Ie;
|
|
2385
2385
|
class es {
|
|
2386
2386
|
/**
|
|
2387
2387
|
* @param {ComponentConstructorOptions & {
|
|
@@ -2392,10 +2392,10 @@ class es {
|
|
|
2392
2392
|
/** @type {any} */
|
|
2393
2393
|
Ur(this, Ke);
|
|
2394
2394
|
/** @type {Record<string, any>} */
|
|
2395
|
-
Ur(this,
|
|
2395
|
+
Ur(this, Ie);
|
|
2396
2396
|
var o;
|
|
2397
2397
|
var r = /* @__PURE__ */ new Map(), n = (s, a) => {
|
|
2398
|
-
var l = /* @__PURE__ */
|
|
2398
|
+
var l = /* @__PURE__ */ ut(a, !1, !1);
|
|
2399
2399
|
return r.set(s, l), l;
|
|
2400
2400
|
};
|
|
2401
2401
|
const i = new Proxy(
|
|
@@ -2408,11 +2408,11 @@ class es {
|
|
|
2408
2408
|
return a === vn ? !0 : (m(r.get(a) ?? n(a, Reflect.get(s, a))), Reflect.has(s, a));
|
|
2409
2409
|
},
|
|
2410
2410
|
set(s, a, l) {
|
|
2411
|
-
return
|
|
2411
|
+
return q(r.get(a) ?? n(a, l), l), Reflect.set(s, a, l);
|
|
2412
2412
|
}
|
|
2413
2413
|
}
|
|
2414
2414
|
);
|
|
2415
|
-
Hr(this,
|
|
2415
|
+
Hr(this, Ie, (t.hydrate ? La : Oi)(t.component, {
|
|
2416
2416
|
target: t.target,
|
|
2417
2417
|
anchor: t.anchor,
|
|
2418
2418
|
props: i,
|
|
@@ -2420,27 +2420,27 @@ class es {
|
|
|
2420
2420
|
intro: t.intro ?? !1,
|
|
2421
2421
|
recover: t.recover
|
|
2422
2422
|
})), (!((o = t == null ? void 0 : t.props) != null && o.$$host) || t.sync === !1) && w(), Hr(this, Ke, i.$$events);
|
|
2423
|
-
for (const s of Object.keys(
|
|
2423
|
+
for (const s of Object.keys(ye(this, Ie)))
|
|
2424
2424
|
s === "$set" || s === "$destroy" || s === "$on" || Vt(this, s, {
|
|
2425
2425
|
get() {
|
|
2426
|
-
return
|
|
2426
|
+
return ye(this, Ie)[s];
|
|
2427
2427
|
},
|
|
2428
2428
|
/** @param {any} value */
|
|
2429
2429
|
set(a) {
|
|
2430
|
-
|
|
2430
|
+
ye(this, Ie)[s] = a;
|
|
2431
2431
|
},
|
|
2432
2432
|
enumerable: !0
|
|
2433
2433
|
});
|
|
2434
|
-
|
|
2434
|
+
ye(this, Ie).$set = /** @param {Record<string, any>} next */
|
|
2435
2435
|
(s) => {
|
|
2436
2436
|
Object.assign(i, s);
|
|
2437
|
-
},
|
|
2438
|
-
|
|
2437
|
+
}, ye(this, Ie).$destroy = () => {
|
|
2438
|
+
za(ye(this, Ie));
|
|
2439
2439
|
};
|
|
2440
2440
|
}
|
|
2441
2441
|
/** @param {Record<string, any>} props */
|
|
2442
2442
|
$set(t) {
|
|
2443
|
-
|
|
2443
|
+
ye(this, Ie).$set(t);
|
|
2444
2444
|
}
|
|
2445
2445
|
/**
|
|
2446
2446
|
* @param {string} event
|
|
@@ -2448,20 +2448,20 @@ class es {
|
|
|
2448
2448
|
* @returns {any}
|
|
2449
2449
|
*/
|
|
2450
2450
|
$on(t, r) {
|
|
2451
|
-
|
|
2451
|
+
ye(this, Ke)[t] = ye(this, Ke)[t] || [];
|
|
2452
2452
|
const n = (...i) => r.call(this, ...i);
|
|
2453
|
-
return
|
|
2454
|
-
|
|
2453
|
+
return ye(this, Ke)[t].push(n), () => {
|
|
2454
|
+
ye(this, Ke)[t] = ye(this, Ke)[t].filter(
|
|
2455
2455
|
/** @param {any} fn */
|
|
2456
2456
|
(i) => i !== n
|
|
2457
2457
|
);
|
|
2458
2458
|
};
|
|
2459
2459
|
}
|
|
2460
2460
|
$destroy() {
|
|
2461
|
-
|
|
2461
|
+
ye(this, Ie).$destroy();
|
|
2462
2462
|
}
|
|
2463
2463
|
}
|
|
2464
|
-
Ke = new WeakMap(),
|
|
2464
|
+
Ke = new WeakMap(), Ie = new WeakMap();
|
|
2465
2465
|
let Ji;
|
|
2466
2466
|
typeof HTMLElement == "function" && (Ji = class extends HTMLElement {
|
|
2467
2467
|
/**
|
|
@@ -2521,7 +2521,7 @@ typeof HTMLElement == "function" && (Ji = class extends HTMLElement {
|
|
|
2521
2521
|
let t = function(i) {
|
|
2522
2522
|
return (o) => {
|
|
2523
2523
|
const s = document.createElement("slot");
|
|
2524
|
-
i !== "default" && (s.name = i),
|
|
2524
|
+
i !== "default" && (s.name = i), M(o, s);
|
|
2525
2525
|
};
|
|
2526
2526
|
};
|
|
2527
2527
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
@@ -2531,7 +2531,7 @@ typeof HTMLElement == "function" && (Ji = class extends HTMLElement {
|
|
|
2531
2531
|
i in n && (i === "default" && !this.$$d.children ? (this.$$d.children = t(i), r.default = !0) : r[i] = t(i));
|
|
2532
2532
|
for (const i of this.attributes) {
|
|
2533
2533
|
const o = this.$$g_p(i.name);
|
|
2534
|
-
o in this.$$d || (this.$$d[o] =
|
|
2534
|
+
o in this.$$d || (this.$$d[o] = ur(o, i.value, this.$$p_d, "toProp"));
|
|
2535
2535
|
}
|
|
2536
2536
|
for (const i in this.$$p_d)
|
|
2537
2537
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -2550,7 +2550,7 @@ typeof HTMLElement == "function" && (Ji = class extends HTMLElement {
|
|
|
2550
2550
|
for (const o of dr(this.$$c)) {
|
|
2551
2551
|
if (!((i = this.$$p_d[o]) != null && i.reflect)) continue;
|
|
2552
2552
|
this.$$d[o] = this.$$c[o];
|
|
2553
|
-
const s =
|
|
2553
|
+
const s = ur(
|
|
2554
2554
|
o,
|
|
2555
2555
|
this.$$d[o],
|
|
2556
2556
|
this.$$p_d,
|
|
@@ -2578,7 +2578,7 @@ typeof HTMLElement == "function" && (Ji = class extends HTMLElement {
|
|
|
2578
2578
|
*/
|
|
2579
2579
|
attributeChangedCallback(t, r, n) {
|
|
2580
2580
|
var i;
|
|
2581
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
2581
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ur(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
2582
2582
|
}
|
|
2583
2583
|
disconnectedCallback() {
|
|
2584
2584
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -2594,7 +2594,7 @@ typeof HTMLElement == "function" && (Ji = class extends HTMLElement {
|
|
|
2594
2594
|
) || t;
|
|
2595
2595
|
}
|
|
2596
2596
|
});
|
|
2597
|
-
function
|
|
2597
|
+
function ur(e, t, r, n) {
|
|
2598
2598
|
var o;
|
|
2599
2599
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
2600
2600
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -2652,11 +2652,11 @@ function se(e, t, r, n, i, o) {
|
|
|
2652
2652
|
},
|
|
2653
2653
|
set(l) {
|
|
2654
2654
|
var d;
|
|
2655
|
-
l =
|
|
2656
|
-
var
|
|
2657
|
-
if (
|
|
2658
|
-
var f = (d = Je(
|
|
2659
|
-
f ?
|
|
2655
|
+
l = ur(a, l, t), this.$$d[a] = l;
|
|
2656
|
+
var c = this.$$c;
|
|
2657
|
+
if (c) {
|
|
2658
|
+
var f = (d = Je(c, a)) == null ? void 0 : d.get;
|
|
2659
|
+
f ? c[a] = l : c.$set({ [a]: l });
|
|
2660
2660
|
}
|
|
2661
2661
|
}
|
|
2662
2662
|
});
|
|
@@ -2721,8 +2721,8 @@ const is = {
|
|
|
2721
2721
|
/*! purgecss end ignore */`
|
|
2722
2722
|
};
|
|
2723
2723
|
function Wi(e, t) {
|
|
2724
|
-
ne(t, !0),
|
|
2725
|
-
let r =
|
|
2724
|
+
ne(t, !0), ct(e, is);
|
|
2725
|
+
let r = _(t, "variant", 7, "primary"), n = _(t, "theme", 7, "default"), i = _(t, "shape", 7, "round"), o = _(t, "href", 7, void 0), s = _(t, "disabled", 7, !1), a = _(t, "onclick", 7), l = _(t, "size", 7, "medium"), c = _(t, "type", 7, "button"), f = _(t, "class", 7, ""), d = /* @__PURE__ */ Sr(t, [
|
|
2726
2726
|
"$$slots",
|
|
2727
2727
|
"$$events",
|
|
2728
2728
|
"$$legacy",
|
|
@@ -2737,7 +2737,7 @@ function Wi(e, t) {
|
|
|
2737
2737
|
"type",
|
|
2738
2738
|
"class"
|
|
2739
2739
|
]);
|
|
2740
|
-
const
|
|
2740
|
+
const u = /* @__PURE__ */ re(() => () => [
|
|
2741
2741
|
"usa-button",
|
|
2742
2742
|
"ai-button",
|
|
2743
2743
|
l() === "small" ? "ai-button--small" : "",
|
|
@@ -2747,15 +2747,15 @@ function Wi(e, t) {
|
|
|
2747
2747
|
r() === "secondary" ? "usa-button--outline ai-button--outline" : "",
|
|
2748
2748
|
r() === "unstyled" ? "ai-button--unstyled" : "",
|
|
2749
2749
|
i() === "square" ? "ai-button--square" : ""
|
|
2750
|
-
].filter(Boolean).join(" ")), v = /* @__PURE__ */ re(() => () => `${m(
|
|
2751
|
-
var
|
|
2750
|
+
].filter(Boolean).join(" ")), v = /* @__PURE__ */ re(() => () => `${m(u)()} ${f()}`.trim());
|
|
2751
|
+
var h = bt(), y = Ze(h);
|
|
2752
2752
|
{
|
|
2753
|
-
var
|
|
2754
|
-
var
|
|
2753
|
+
var S = (g) => {
|
|
2754
|
+
var b = rs();
|
|
2755
2755
|
Jt(
|
|
2756
|
-
|
|
2757
|
-
(
|
|
2758
|
-
class:
|
|
2756
|
+
b,
|
|
2757
|
+
(k, O) => ({
|
|
2758
|
+
class: k,
|
|
2759
2759
|
href: o(),
|
|
2760
2760
|
onclick: a(),
|
|
2761
2761
|
...d,
|
|
@@ -2767,15 +2767,15 @@ function Wi(e, t) {
|
|
|
2767
2767
|
],
|
|
2768
2768
|
"svelte-zsrcxo"
|
|
2769
2769
|
);
|
|
2770
|
-
var
|
|
2771
|
-
ft(
|
|
2772
|
-
},
|
|
2773
|
-
var
|
|
2770
|
+
var p = E(b);
|
|
2771
|
+
ft(p, t, "default", {}), C(b), M(g, b);
|
|
2772
|
+
}, L = (g) => {
|
|
2773
|
+
var b = ns();
|
|
2774
2774
|
Jt(
|
|
2775
|
-
|
|
2776
|
-
(
|
|
2777
|
-
class:
|
|
2778
|
-
type:
|
|
2775
|
+
b,
|
|
2776
|
+
(k) => ({
|
|
2777
|
+
class: k,
|
|
2778
|
+
type: c(),
|
|
2779
2779
|
disabled: s(),
|
|
2780
2780
|
onclick: a(),
|
|
2781
2781
|
...d
|
|
@@ -2783,67 +2783,67 @@ function Wi(e, t) {
|
|
|
2783
2783
|
[() => m(v)()],
|
|
2784
2784
|
"svelte-zsrcxo"
|
|
2785
2785
|
);
|
|
2786
|
-
var
|
|
2787
|
-
ft(
|
|
2786
|
+
var p = E(b);
|
|
2787
|
+
ft(p, t, "default", {}), C(b), M(g, b);
|
|
2788
2788
|
};
|
|
2789
|
-
X(
|
|
2790
|
-
o() ?
|
|
2789
|
+
X(y, (g) => {
|
|
2790
|
+
o() ? g(S) : g(L, !1);
|
|
2791
2791
|
});
|
|
2792
2792
|
}
|
|
2793
|
-
return
|
|
2793
|
+
return M(e, h), ie({
|
|
2794
2794
|
get variant() {
|
|
2795
2795
|
return r();
|
|
2796
2796
|
},
|
|
2797
|
-
set variant(
|
|
2798
|
-
r(
|
|
2797
|
+
set variant(g = "primary") {
|
|
2798
|
+
r(g), w();
|
|
2799
2799
|
},
|
|
2800
2800
|
get theme() {
|
|
2801
2801
|
return n();
|
|
2802
2802
|
},
|
|
2803
|
-
set theme(
|
|
2804
|
-
n(
|
|
2803
|
+
set theme(g = "default") {
|
|
2804
|
+
n(g), w();
|
|
2805
2805
|
},
|
|
2806
2806
|
get shape() {
|
|
2807
2807
|
return i();
|
|
2808
2808
|
},
|
|
2809
|
-
set shape(
|
|
2810
|
-
i(
|
|
2809
|
+
set shape(g = "round") {
|
|
2810
|
+
i(g), w();
|
|
2811
2811
|
},
|
|
2812
2812
|
get href() {
|
|
2813
2813
|
return o();
|
|
2814
2814
|
},
|
|
2815
|
-
set href(
|
|
2816
|
-
o(
|
|
2815
|
+
set href(g = void 0) {
|
|
2816
|
+
o(g), w();
|
|
2817
2817
|
},
|
|
2818
2818
|
get disabled() {
|
|
2819
2819
|
return s();
|
|
2820
2820
|
},
|
|
2821
|
-
set disabled(
|
|
2822
|
-
s(
|
|
2821
|
+
set disabled(g = !1) {
|
|
2822
|
+
s(g), w();
|
|
2823
2823
|
},
|
|
2824
2824
|
get onclick() {
|
|
2825
2825
|
return a();
|
|
2826
2826
|
},
|
|
2827
|
-
set onclick(
|
|
2828
|
-
a(
|
|
2827
|
+
set onclick(g) {
|
|
2828
|
+
a(g), w();
|
|
2829
2829
|
},
|
|
2830
2830
|
get size() {
|
|
2831
2831
|
return l();
|
|
2832
2832
|
},
|
|
2833
|
-
set size(
|
|
2834
|
-
l(
|
|
2833
|
+
set size(g = "medium") {
|
|
2834
|
+
l(g), w();
|
|
2835
2835
|
},
|
|
2836
2836
|
get type() {
|
|
2837
|
-
return
|
|
2837
|
+
return c();
|
|
2838
2838
|
},
|
|
2839
|
-
set type(
|
|
2840
|
-
|
|
2839
|
+
set type(g = "button") {
|
|
2840
|
+
c(g), w();
|
|
2841
2841
|
},
|
|
2842
2842
|
get class() {
|
|
2843
2843
|
return f();
|
|
2844
2844
|
},
|
|
2845
|
-
set class(
|
|
2846
|
-
f(
|
|
2845
|
+
set class(g = "") {
|
|
2846
|
+
f(g), w();
|
|
2847
2847
|
}
|
|
2848
2848
|
});
|
|
2849
2849
|
}
|
|
@@ -2866,7 +2866,7 @@ se(
|
|
|
2866
2866
|
);
|
|
2867
2867
|
function os(e, t) {
|
|
2868
2868
|
ne(t, !0);
|
|
2869
|
-
let r =
|
|
2869
|
+
let r = _(t, "variant", 7, "primary"), n = _(t, "theme", 7, "default"), i = _(t, "href", 7, null), o = _(t, "disabled", 7, !1), s = _(t, "size", 7, "medium"), a = _(t, "type", 7, "button"), l = _(t, "onclick", 7), c = _(t, "class", 7, ""), f = /* @__PURE__ */ Sr(t, [
|
|
2870
2870
|
"$$slots",
|
|
2871
2871
|
"$$events",
|
|
2872
2872
|
"$$legacy",
|
|
@@ -2904,14 +2904,14 @@ function os(e, t) {
|
|
|
2904
2904
|
return l();
|
|
2905
2905
|
},
|
|
2906
2906
|
get class() {
|
|
2907
|
-
return
|
|
2907
|
+
return c();
|
|
2908
2908
|
}
|
|
2909
2909
|
},
|
|
2910
2910
|
() => f,
|
|
2911
2911
|
{
|
|
2912
|
-
children: (d,
|
|
2913
|
-
var v =
|
|
2914
|
-
ft(
|
|
2912
|
+
children: (d, u) => {
|
|
2913
|
+
var v = bt(), h = Ze(v);
|
|
2914
|
+
ft(h, t, "default", {}), M(d, v);
|
|
2915
2915
|
},
|
|
2916
2916
|
$$slots: { default: !0 }
|
|
2917
2917
|
}
|
|
@@ -2959,10 +2959,10 @@ function os(e, t) {
|
|
|
2959
2959
|
l(d), w();
|
|
2960
2960
|
},
|
|
2961
2961
|
get class() {
|
|
2962
|
-
return
|
|
2962
|
+
return c();
|
|
2963
2963
|
},
|
|
2964
2964
|
set class(d = "") {
|
|
2965
|
-
|
|
2965
|
+
c(d), w();
|
|
2966
2966
|
}
|
|
2967
2967
|
});
|
|
2968
2968
|
}
|
|
@@ -2996,7 +2996,7 @@ function as(e, t) {
|
|
|
2996
2996
|
return t;
|
|
2997
2997
|
}
|
|
2998
2998
|
function Gi(e, t) {
|
|
2999
|
-
const r = as(e, t), n =
|
|
2999
|
+
const r = as(e, t), n = pn(r);
|
|
3000
3000
|
return rr && n.subscribe((i) => {
|
|
3001
3001
|
try {
|
|
3002
3002
|
sessionStorage.setItem(e, JSON.stringify(i));
|
|
@@ -3023,7 +3023,7 @@ function Xi(e, t) {
|
|
|
3023
3023
|
return t;
|
|
3024
3024
|
}
|
|
3025
3025
|
function Qi(e, t) {
|
|
3026
|
-
const r = Xi(e, t), n =
|
|
3026
|
+
const r = Xi(e, t), n = pn(r);
|
|
3027
3027
|
return rr && n.subscribe((i) => {
|
|
3028
3028
|
try {
|
|
3029
3029
|
localStorage.setItem(e, JSON.stringify(i));
|
|
@@ -3035,13 +3035,13 @@ function Qi(e, t) {
|
|
|
3035
3035
|
const Ae = Qi(
|
|
3036
3036
|
"globalSideNav-isExpanded",
|
|
3037
3037
|
!1
|
|
3038
|
-
),
|
|
3038
|
+
), pt = Qi(
|
|
3039
3039
|
"globalSideNav-selectedItem",
|
|
3040
3040
|
null
|
|
3041
|
-
),
|
|
3042
|
-
|
|
3041
|
+
), gn = Za(
|
|
3042
|
+
pt,
|
|
3043
3043
|
(e) => e === "discover"
|
|
3044
|
-
),
|
|
3044
|
+
), pe = {
|
|
3045
3045
|
toggleExpanded: () => {
|
|
3046
3046
|
Ae.update((e) => !e);
|
|
3047
3047
|
},
|
|
@@ -3049,7 +3049,7 @@ const Ae = Qi(
|
|
|
3049
3049
|
Ae.set(e);
|
|
3050
3050
|
},
|
|
3051
3051
|
setSelectedItem: (e) => {
|
|
3052
|
-
|
|
3052
|
+
pt.set(e), e === "discover" ? Ae.set(!1) : rr && window.innerWidth > 640 && Ae.set(!0);
|
|
3053
3053
|
},
|
|
3054
3054
|
handleLayoutTransition: (e) => {
|
|
3055
3055
|
if (e)
|
|
@@ -3061,12 +3061,12 @@ const Ae = Qi(
|
|
|
3061
3061
|
), Ae.set(!0)) : Ae.set(!1);
|
|
3062
3062
|
}
|
|
3063
3063
|
}
|
|
3064
|
-
},
|
|
3064
|
+
}, gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3065
3065
|
__proto__: null,
|
|
3066
3066
|
isExpanded: Ae,
|
|
3067
|
-
isMenuButtonDisabled:
|
|
3068
|
-
navigationStore:
|
|
3069
|
-
selectedItem:
|
|
3067
|
+
isMenuButtonDisabled: gn,
|
|
3068
|
+
navigationStore: pe,
|
|
3069
|
+
selectedItem: pt,
|
|
3070
3070
|
selectedSubNavItemTitle: vt
|
|
3071
3071
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3072
3072
|
var ss = /* @__PURE__ */ te('<div part="global-header"><div class="header-content svelte-1e8dq3f" part="header-content"><span class="header-text svelte-1e8dq3f"> </span></div></div>');
|
|
@@ -3075,65 +3075,65 @@ const ls = {
|
|
|
3075
3075
|
code: ".global-header.svelte-1e8dq3f {opacity:0;transition:opacity var(--ai-duration-fast);}.global-header.visible.svelte-1e8dq3f {opacity:1;transition:opacity var(--ai-duration-fast);}.header-content.svelte-1e8dq3f {display:flex;align-items:center;gap:var(--ai-size-16);background:var(--ai-color-white);height:var(--ai-size-56);padding:0 5.8rem;}.header-content.svelte-1e8dq3f {display:flex;align-items:center;gap:var(--ai-size-16);align-self:stretch;}.header-text.svelte-1e8dq3f {color:var(--ai-color-black);font-size:var(--ai-size-16);font-weight:400;line-height:1.3;}"
|
|
3076
3076
|
};
|
|
3077
3077
|
function eo(e, t) {
|
|
3078
|
-
ne(t, !0),
|
|
3079
|
-
const [r, n] = tr(), i = () => Ve(
|
|
3078
|
+
ne(t, !0), ct(e, ls);
|
|
3079
|
+
const [r, n] = tr(), i = () => Ve(pt, "$selectedItem", r), o = () => Ve(Ae, "$isExpanded", r), s = () => Ve(vt, "$selectedSubNavItemTitle", r), a = _(t, "customHeaderText", 7, "");
|
|
3080
3080
|
let l = !1;
|
|
3081
|
-
const
|
|
3081
|
+
const c = /* @__PURE__ */ re(() => () => i() && i() !== "discover" && !o() && !l), f = /* @__PURE__ */ re(() => () => a() || s());
|
|
3082
3082
|
er(() => {
|
|
3083
|
-
const
|
|
3083
|
+
const L = (b) => {
|
|
3084
3084
|
if (typeof window < "u" && window.innerWidth <= 640)
|
|
3085
3085
|
return;
|
|
3086
|
-
let
|
|
3087
|
-
if (typeof window < "u" && (
|
|
3086
|
+
let p = null;
|
|
3087
|
+
if (typeof window < "u" && (p = sessionStorage.getItem("subNav-topLevelTitle"), p))
|
|
3088
3088
|
try {
|
|
3089
|
-
|
|
3089
|
+
p = JSON.parse(p);
|
|
3090
3090
|
} catch {
|
|
3091
3091
|
}
|
|
3092
|
-
if (typeof
|
|
3093
|
-
vt.set(
|
|
3092
|
+
if (typeof p == "string" && p.trim() !== "")
|
|
3093
|
+
vt.set(p), sessionStorage.setItem("subNav-selectedTitle", JSON.stringify(p));
|
|
3094
3094
|
else {
|
|
3095
|
-
const
|
|
3096
|
-
|
|
3095
|
+
const k = b;
|
|
3096
|
+
k.detail && k.detail.title && (vt.set(k.detail.title), sessionStorage.setItem("subNav-selectedTitle", JSON.stringify(k.detail.title)));
|
|
3097
3097
|
}
|
|
3098
|
-
},
|
|
3099
|
-
const
|
|
3100
|
-
|
|
3098
|
+
}, g = (b) => {
|
|
3099
|
+
const p = b, { isMobile: k } = p.detail;
|
|
3100
|
+
k || (l = !0, setTimeout(
|
|
3101
3101
|
() => {
|
|
3102
3102
|
l = !1;
|
|
3103
3103
|
},
|
|
3104
3104
|
300
|
|
3105
3105
|
));
|
|
3106
3106
|
};
|
|
3107
|
-
return window.addEventListener("sectionVisible",
|
|
3108
|
-
window.removeEventListener("sectionVisible",
|
|
3107
|
+
return window.addEventListener("sectionVisible", L), window.addEventListener("layoutTransition", g), () => {
|
|
3108
|
+
window.removeEventListener("sectionVisible", L), window.removeEventListener("layoutTransition", g);
|
|
3109
3109
|
};
|
|
3110
3110
|
});
|
|
3111
3111
|
var d = ss();
|
|
3112
|
-
let
|
|
3113
|
-
var v = E(d),
|
|
3114
|
-
C(
|
|
3115
|
-
(
|
|
3116
|
-
|
|
3112
|
+
let u;
|
|
3113
|
+
var v = E(d), h = E(v), y = E(h, !0);
|
|
3114
|
+
C(h), C(v), C(d), he(
|
|
3115
|
+
(L, g) => {
|
|
3116
|
+
u = we(d, 1, "global-header svelte-1e8dq3f", null, u, L), Kt(y, g);
|
|
3117
3117
|
},
|
|
3118
3118
|
[
|
|
3119
|
-
() => ({ visible: m(
|
|
3119
|
+
() => ({ visible: m(c)() }),
|
|
3120
3120
|
() => m(f)()
|
|
3121
3121
|
]
|
|
3122
|
-
),
|
|
3123
|
-
var
|
|
3122
|
+
), M(e, d);
|
|
3123
|
+
var S = ie({
|
|
3124
3124
|
get customHeaderText() {
|
|
3125
3125
|
return a();
|
|
3126
3126
|
},
|
|
3127
|
-
set customHeaderText(
|
|
3128
|
-
a(
|
|
3127
|
+
set customHeaderText(L = "") {
|
|
3128
|
+
a(L), w();
|
|
3129
3129
|
}
|
|
3130
3130
|
});
|
|
3131
|
-
return n(),
|
|
3131
|
+
return n(), S;
|
|
3132
3132
|
}
|
|
3133
3133
|
se(eo, { customHeaderText: {} }, [], [], !0);
|
|
3134
|
-
function
|
|
3134
|
+
function cs(e, t) {
|
|
3135
3135
|
ne(t, !0);
|
|
3136
|
-
let r =
|
|
3136
|
+
let r = _(t, "customHeaderText", 7, "");
|
|
3137
3137
|
return eo(e, {
|
|
3138
3138
|
get customHeaderText() {
|
|
3139
3139
|
return r();
|
|
@@ -3148,7 +3148,7 @@ function us(e, t) {
|
|
|
3148
3148
|
});
|
|
3149
3149
|
}
|
|
3150
3150
|
customElements.define("graymatter-desktop-header", se(
|
|
3151
|
-
|
|
3151
|
+
cs,
|
|
3152
3152
|
{
|
|
3153
3153
|
customHeaderText: {
|
|
3154
3154
|
attribute: "custom-header-text",
|
|
@@ -3161,24 +3161,24 @@ customElements.define("graymatter-desktop-header", se(
|
|
|
3161
3161
|
!0
|
|
3162
3162
|
));
|
|
3163
3163
|
Ko();
|
|
3164
|
-
var
|
|
3164
|
+
var us = /* @__PURE__ */ oe('<path fill-rule="evenodd" clip-rule="evenodd" d="M10.7883 3.2108C11.2367 2.13286 12.7637 2.13286 13.212 3.2108L15.294 8.21652L20.6981 8.64976C21.8619 8.74306 22.3337 10.1953 21.4471 10.9549L17.3298 14.4818L18.5877 19.7553C18.8585 20.8909 17.6232 21.7884 16.6268 21.1799L12.0002 18.354L7.37353 21.1799C6.37721 21.7884 5.14182 20.8909 5.4127 19.7553L6.67062 14.4818L2.55328 10.9549C1.66664 10.1953 2.13851 8.74306 3.30224 8.64976L8.70633 8.21652L10.7883 3.2108Z" fill="black"></path>'), ds = /* @__PURE__ */ oe('<path d="M11.4807 3.49883C11.6729 3.03685 12.3273 3.03685 12.5195 3.49883L14.6454 8.61028C14.7264 8.80504 14.9096 8.93811 15.1199 8.95497L20.6381 9.39736C21.1369 9.43735 21.3391 10.0598 20.9591 10.3853L16.7548 13.9867C16.5946 14.1239 16.5246 14.3392 16.5736 14.5444L17.858 19.9293C17.9741 20.416 17.4447 20.8007 17.0177 20.5398L12.2933 17.6542C12.1133 17.5443 11.8869 17.5443 11.7069 17.6542L6.98251 20.5398C6.55551 20.8007 6.02606 20.416 6.14215 19.9293L7.42664 14.5444C7.47558 14.3392 7.40562 14.1239 7.24543 13.9867L3.04111 10.3853C2.66112 10.0598 2.86335 9.43735 3.36209 9.39736L8.88034 8.95497C9.0906 8.93811 9.27375 8.80504 9.35476 8.61028L11.4807 3.49883Z" stroke="#585C63" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>'), vs = /* @__PURE__ */ oe('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');
|
|
3165
3165
|
function mn(e, t) {
|
|
3166
3166
|
ne(t, !1);
|
|
3167
|
-
let r =
|
|
3167
|
+
let r = _(t, "isSelected", 12, !1);
|
|
3168
3168
|
var n = vs(), i = E(n);
|
|
3169
3169
|
{
|
|
3170
3170
|
var o = (a) => {
|
|
3171
|
-
var l =
|
|
3172
|
-
|
|
3171
|
+
var l = us();
|
|
3172
|
+
M(a, l);
|
|
3173
3173
|
}, s = (a) => {
|
|
3174
3174
|
var l = ds();
|
|
3175
|
-
|
|
3175
|
+
M(a, l);
|
|
3176
3176
|
};
|
|
3177
3177
|
X(i, (a) => {
|
|
3178
3178
|
r() ? a(o) : a(s, !1);
|
|
3179
3179
|
});
|
|
3180
3180
|
}
|
|
3181
|
-
return C(n),
|
|
3181
|
+
return C(n), M(e, n), ie({
|
|
3182
3182
|
get isSelected() {
|
|
3183
3183
|
return r();
|
|
3184
3184
|
},
|
|
@@ -3188,24 +3188,24 @@ function mn(e, t) {
|
|
|
3188
3188
|
});
|
|
3189
3189
|
}
|
|
3190
3190
|
se(mn, { isSelected: {} }, [], [], !0);
|
|
3191
|
-
var fs = /* @__PURE__ */ oe('<path fill-rule="evenodd" clip-rule="evenodd" d="M17.0508 3C19.6009 3.00039 21.6688 5.06802 21.6689 7.61816V13.2832C21.6688 15.8333 19.6009 17.901 17.0508 17.9014H13.2686L9.23926 21.7168C8.58852 22.3323 7.5166 21.8705 7.5166 20.9746V17.8984C5.01299 17.8445 3.00011 15.7997 3 13.2832V7.61816C3.00012 5.06785 5.06785 3.00012 7.61816 3H17.0508Z" fill="black"></path>'),
|
|
3191
|
+
var fs = /* @__PURE__ */ oe('<path fill-rule="evenodd" clip-rule="evenodd" d="M17.0508 3C19.6009 3.00039 21.6688 5.06802 21.6689 7.61816V13.2832C21.6688 15.8333 19.6009 17.901 17.0508 17.9014H13.2686L9.23926 21.7168C8.58852 22.3323 7.5166 21.8705 7.5166 20.9746V17.8984C5.01299 17.8445 3.00011 15.7997 3 13.2832V7.61816C3.00012 5.06785 5.06785 3.00012 7.61816 3H17.0508Z" fill="black"></path>'), hs = /* @__PURE__ */ oe('<path d="M17.0508 3C19.6009 3.00039 21.6688 5.06802 21.6689 7.61816V13.2832C21.6688 15.8333 19.6009 17.901 17.0508 17.9014H13.2686L9.23926 21.7168C8.58852 22.3323 7.5166 21.8705 7.5166 20.9746V17.8984C5.01299 17.8445 3.00011 15.7997 3 13.2832V7.61816C3.00012 5.06785 5.06785 3.00012 7.61816 3H17.0508ZM7.61816 4.45898C5.87327 4.4591 4.4591 5.87327 4.45898 7.61816V13.2832C4.4591 15.0281 5.87327 16.4432 7.61816 16.4434L8.24609 16.4424C8.64868 16.4424 8.97539 16.7693 8.97559 17.1719V19.958L12.4775 16.6426C12.6186 16.5091 12.7994 16.4443 12.9795 16.4443V16.4434H17.0508C18.7954 16.443 20.2099 15.0279 20.21 13.2832V7.61816C20.2098 5.87344 18.7954 4.45938 17.0508 4.45898H7.61816Z" fill="#585C63"></path>'), bs = /* @__PURE__ */ oe('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');
|
|
3192
3192
|
function wn(e, t) {
|
|
3193
3193
|
ne(t, !1);
|
|
3194
|
-
let r =
|
|
3195
|
-
var n =
|
|
3194
|
+
let r = _(t, "isSelected", 12, !1);
|
|
3195
|
+
var n = bs(), i = E(n);
|
|
3196
3196
|
{
|
|
3197
3197
|
var o = (a) => {
|
|
3198
3198
|
var l = fs();
|
|
3199
|
-
|
|
3199
|
+
M(a, l);
|
|
3200
3200
|
}, s = (a) => {
|
|
3201
|
-
var l =
|
|
3202
|
-
|
|
3201
|
+
var l = hs();
|
|
3202
|
+
M(a, l);
|
|
3203
3203
|
};
|
|
3204
3204
|
X(i, (a) => {
|
|
3205
3205
|
r() ? a(o) : a(s, !1);
|
|
3206
3206
|
});
|
|
3207
3207
|
}
|
|
3208
|
-
return C(n),
|
|
3208
|
+
return C(n), M(e, n), ie({
|
|
3209
3209
|
get isSelected() {
|
|
3210
3210
|
return r();
|
|
3211
3211
|
},
|
|
@@ -3215,24 +3215,24 @@ function wn(e, t) {
|
|
|
3215
3215
|
});
|
|
3216
3216
|
}
|
|
3217
3217
|
se(wn, { isSelected: {} }, [], [], !0);
|
|
3218
|
-
var
|
|
3219
|
-
function
|
|
3218
|
+
var ps = /* @__PURE__ */ oe('<rect x="2.75" y="6.02856" width="3.7459" height="12.9262" fill="black" stroke="black" stroke-width="1.5"></rect><rect x="9.96338" y="9.96313" width="3.7459" height="8.9918" fill="black" stroke="black" stroke-width="1.5"></rect><rect x="17.1763" y="2.75" width="3.7459" height="16.2049" fill="black" stroke="black" stroke-width="1.5"></rect><path d="M2.32764 22H21.344" stroke="black" stroke-width="1.5" stroke-linecap="square"></path>', 1), gs = /* @__PURE__ */ oe('<rect x="2.75" y="6.02856" width="3.7459" height="12.9262" stroke="#585C63" stroke-width="1.5"></rect><rect x="9.96338" y="9.96313" width="3.7459" height="8.9918" stroke="#585C63" stroke-width="1.5"></rect><rect x="17.1763" y="2.75" width="3.7459" height="16.2049" stroke="#585C63" stroke-width="1.5"></rect><path d="M2.32764 22H21.344" stroke="#585C63" stroke-width="1.5" stroke-linecap="square"></path>', 1), ms = /* @__PURE__ */ oe('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');
|
|
3219
|
+
function _n(e, t) {
|
|
3220
3220
|
ne(t, !1);
|
|
3221
|
-
let r =
|
|
3221
|
+
let r = _(t, "isSelected", 12, !1);
|
|
3222
3222
|
var n = ms(), i = E(n);
|
|
3223
3223
|
{
|
|
3224
3224
|
var o = (a) => {
|
|
3225
|
-
var l = bs();
|
|
3226
|
-
je(3), z(a, l);
|
|
3227
|
-
}, s = (a) => {
|
|
3228
3225
|
var l = ps();
|
|
3229
|
-
je(3),
|
|
3226
|
+
je(3), M(a, l);
|
|
3227
|
+
}, s = (a) => {
|
|
3228
|
+
var l = gs();
|
|
3229
|
+
je(3), M(a, l);
|
|
3230
3230
|
};
|
|
3231
3231
|
X(i, (a) => {
|
|
3232
3232
|
r() ? a(o) : a(s, !1);
|
|
3233
3233
|
});
|
|
3234
3234
|
}
|
|
3235
|
-
return C(n),
|
|
3235
|
+
return C(n), M(e, n), ie({
|
|
3236
3236
|
get isSelected() {
|
|
3237
3237
|
return r();
|
|
3238
3238
|
},
|
|
@@ -3241,25 +3241,25 @@ function yn(e, t) {
|
|
|
3241
3241
|
}
|
|
3242
3242
|
});
|
|
3243
3243
|
}
|
|
3244
|
-
se(
|
|
3245
|
-
var ws = /* @__PURE__ */ oe('<rect x="4.41699" y="4.62451" width="15.1664" height="15.1664" rx="1.75" stroke="black" stroke-width="1.5"></rect><g><path d="M9.5 3.66664V2" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 14.4998L2 14.4998" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 14.4998L20.3335 14.4998" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M9.5 21.9999V20.3333" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M12.0005 3.66664V2" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 12.0005L2 12.0005" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 12.0005L20.3335 12.0005" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M12.0005 21.9999V20.3333" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M14.4995 3.66664V2" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 9.5L2 9.5" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 9.5L20.3335 9.5" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M14.4995 21.9999V20.3333" stroke="black" stroke-width="1.5" stroke-linecap="round"></path></g><path d="M10.5 8.52856H13.7559C14.7224 8.52856 15.5059 9.31207 15.5059 10.2786V13.5344C15.5059 14.5009 14.7224 15.2844 13.7559 15.2844H10.5C9.5335 15.2844 8.75 14.5009 8.75 13.5344V10.2786C8.75 9.31207 9.5335 8.52856 10.5 8.52856Z" fill="black" stroke="black" stroke-width="1.5"></path>', 1),
|
|
3246
|
-
function
|
|
3244
|
+
se(_n, { isSelected: {} }, [], [], !0);
|
|
3245
|
+
var ws = /* @__PURE__ */ oe('<rect x="4.41699" y="4.62451" width="15.1664" height="15.1664" rx="1.75" stroke="black" stroke-width="1.5"></rect><g><path d="M9.5 3.66664V2" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 14.4998L2 14.4998" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 14.4998L20.3335 14.4998" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M9.5 21.9999V20.3333" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M12.0005 3.66664V2" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 12.0005L2 12.0005" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 12.0005L20.3335 12.0005" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M12.0005 21.9999V20.3333" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M14.4995 3.66664V2" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 9.5L2 9.5" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 9.5L20.3335 9.5" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M14.4995 21.9999V20.3333" stroke="black" stroke-width="1.5" stroke-linecap="round"></path></g><path d="M10.5 8.52856H13.7559C14.7224 8.52856 15.5059 9.31207 15.5059 10.2786V13.5344C15.5059 14.5009 14.7224 15.2844 13.7559 15.2844H10.5C9.5335 15.2844 8.75 14.5009 8.75 13.5344V10.2786C8.75 9.31207 9.5335 8.52856 10.5 8.52856Z" fill="black" stroke="black" stroke-width="1.5"></path>', 1), _s = /* @__PURE__ */ oe('<rect x="4.41699" y="4.62451" width="15.1664" height="15.1664" rx="1.75" stroke="#585C63" stroke-width="1.5"></rect><g><path d="M9.5 3.66664V2" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 14.4995L2 14.4995" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 14.4995L20.3335 14.4995" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M9.5 21.9999V20.3333" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M12.0005 3.66664V2" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 12.0002L2 12.0002" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 12.0002L20.3335 12.0002" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M12.0005 21.9999V20.3333" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M14.4995 3.66664V2" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 9.49976L2 9.49976" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 9.49976L20.3335 9.49976" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M14.4995 21.9999V20.3333" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path></g><rect x="8.52881" y="8.52856" width="6.75594" height="6.75594" rx="1.75" stroke="#585C63" stroke-width="1.5"></rect>', 1), ks = /* @__PURE__ */ oe('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');
|
|
3246
|
+
function kn(e, t) {
|
|
3247
3247
|
ne(t, !1);
|
|
3248
|
-
let r =
|
|
3249
|
-
var n =
|
|
3248
|
+
let r = _(t, "isSelected", 12, !1);
|
|
3249
|
+
var n = ks(), i = E(n);
|
|
3250
3250
|
{
|
|
3251
3251
|
var o = (a) => {
|
|
3252
3252
|
var l = ws();
|
|
3253
|
-
je(2),
|
|
3253
|
+
je(2), M(a, l);
|
|
3254
3254
|
}, s = (a) => {
|
|
3255
|
-
var l =
|
|
3256
|
-
je(2),
|
|
3255
|
+
var l = _s();
|
|
3256
|
+
je(2), M(a, l);
|
|
3257
3257
|
};
|
|
3258
3258
|
X(i, (a) => {
|
|
3259
3259
|
r() ? a(o) : a(s, !1);
|
|
3260
3260
|
});
|
|
3261
3261
|
}
|
|
3262
|
-
return C(n),
|
|
3262
|
+
return C(n), M(e, n), ie({
|
|
3263
3263
|
get isSelected() {
|
|
3264
3264
|
return r();
|
|
3265
3265
|
},
|
|
@@ -3268,13 +3268,13 @@ function _n(e, t) {
|
|
|
3268
3268
|
}
|
|
3269
3269
|
});
|
|
3270
3270
|
}
|
|
3271
|
-
se(
|
|
3272
|
-
var
|
|
3273
|
-
function
|
|
3271
|
+
se(kn, { isSelected: {} }, [], [], !0);
|
|
3272
|
+
var ys = /* @__PURE__ */ oe('<path d="M18.75 3H5.25C4.00736 3 3 4.09719 3 5.45064V7.90129V18.5207C3 19.8742 4.00736 20.9714 5.25 20.9714H18.75C19.9926 20.9714 21 19.8742 21 18.5207V7.90129V5.45064C21 4.09719 19.9926 3 18.75 3Z" stroke="#C7CDD6" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path stroke="#C7CDD6" stroke-width="1.5"></path>', 1), xs = /* @__PURE__ */ oe('<path d="M12.25 18L6 12M6 12L12.25 6M6 12L21 12" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3 3V21" stroke="black" stroke-width="1.5" stroke-linecap="round"></path>', 1), Cs = /* @__PURE__ */ oe('<path d="M11.75 18.25L18 12M18 12L11.75 5.75M18 12L3 12" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M21 3V21" stroke="black" stroke-width="1.5" stroke-linecap="round"></path>', 1), Es = /* @__PURE__ */ oe('<path d="M8.18018 5.45068V18.5208" stroke="#585C63" stroke-width="1.5"></path>'), Ss = /* @__PURE__ */ oe('<path d="M9.18018 3.27222V20.9203" stroke="#585C63" stroke-width="1.5"></path>'), Ls = /* @__PURE__ */ oe('<path d="M18.75 3H5.25C4.00736 3 3 4.09719 3 5.45064V7.90129V18.5207C3 19.8742 4.00736 20.9714 5.25 20.9714H18.75C19.9926 20.9714 21 19.8742 21 18.5207V7.90129V5.45064C21 4.09719 19.9926 3 18.75 3Z" stroke="#585C63" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><!>', 1), zs = /* @__PURE__ */ oe("<svg><!></svg>");
|
|
3273
|
+
function Lr(e, t) {
|
|
3274
3274
|
const r = Xn(t, ["children", "$$slots", "$$events", "$$legacy", "$$host"]), n = Xn(r, ["isDisabled", "isHovered", "isOpen"]);
|
|
3275
3275
|
ne(t, !1);
|
|
3276
|
-
let i =
|
|
3277
|
-
var a =
|
|
3276
|
+
let i = _(t, "isDisabled", 12, !1), o = _(t, "isHovered", 12, !1), s = _(t, "isOpen", 12, !1);
|
|
3277
|
+
var a = zs();
|
|
3278
3278
|
Jt(a, () => ({
|
|
3279
3279
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3280
3280
|
width: "24",
|
|
@@ -3285,56 +3285,56 @@ function Sr(e, t) {
|
|
|
3285
3285
|
}));
|
|
3286
3286
|
var l = E(a);
|
|
3287
3287
|
{
|
|
3288
|
-
var
|
|
3289
|
-
var
|
|
3290
|
-
|
|
3291
|
-
}, f = (d,
|
|
3288
|
+
var c = (d) => {
|
|
3289
|
+
var u = ys(), v = ue(Ze(u));
|
|
3290
|
+
he(() => K(v, "d", `M${s() ? "8.18018" : "9.18018"} ${s() ? "5.45068" : "3.27222"}V${s() ? "18.5208" : "20.9203"}`)), M(d, u);
|
|
3291
|
+
}, f = (d, u) => {
|
|
3292
3292
|
{
|
|
3293
|
-
var v = (
|
|
3294
|
-
var
|
|
3293
|
+
var v = (y) => {
|
|
3294
|
+
var S = bt(), L = Ze(S);
|
|
3295
3295
|
{
|
|
3296
|
-
var
|
|
3297
|
-
var
|
|
3298
|
-
je(),
|
|
3299
|
-
},
|
|
3300
|
-
var
|
|
3301
|
-
je(),
|
|
3296
|
+
var g = (p) => {
|
|
3297
|
+
var k = xs();
|
|
3298
|
+
je(), M(p, k);
|
|
3299
|
+
}, b = (p) => {
|
|
3300
|
+
var k = Cs();
|
|
3301
|
+
je(), M(p, k);
|
|
3302
3302
|
};
|
|
3303
|
-
X(
|
|
3304
|
-
s() ?
|
|
3303
|
+
X(L, (p) => {
|
|
3304
|
+
s() ? p(g) : p(b, !1);
|
|
3305
3305
|
});
|
|
3306
3306
|
}
|
|
3307
|
-
|
|
3308
|
-
},
|
|
3309
|
-
var
|
|
3307
|
+
M(y, S);
|
|
3308
|
+
}, h = (y) => {
|
|
3309
|
+
var S = Ls(), L = ue(Ze(S));
|
|
3310
3310
|
{
|
|
3311
|
-
var
|
|
3312
|
-
var
|
|
3313
|
-
|
|
3314
|
-
},
|
|
3315
|
-
var
|
|
3316
|
-
|
|
3311
|
+
var g = (p) => {
|
|
3312
|
+
var k = Es();
|
|
3313
|
+
M(p, k);
|
|
3314
|
+
}, b = (p) => {
|
|
3315
|
+
var k = Ss();
|
|
3316
|
+
M(p, k);
|
|
3317
3317
|
};
|
|
3318
|
-
X(
|
|
3319
|
-
s() ?
|
|
3318
|
+
X(L, (p) => {
|
|
3319
|
+
s() ? p(g) : p(b, !1);
|
|
3320
3320
|
});
|
|
3321
3321
|
}
|
|
3322
|
-
|
|
3322
|
+
M(y, S);
|
|
3323
3323
|
};
|
|
3324
3324
|
X(
|
|
3325
3325
|
d,
|
|
3326
|
-
(
|
|
3327
|
-
o() ?
|
|
3326
|
+
(y) => {
|
|
3327
|
+
o() ? y(v) : y(h, !1);
|
|
3328
3328
|
},
|
|
3329
|
-
|
|
3329
|
+
u
|
|
3330
3330
|
);
|
|
3331
3331
|
}
|
|
3332
3332
|
};
|
|
3333
3333
|
X(l, (d) => {
|
|
3334
|
-
i() ? d(
|
|
3334
|
+
i() ? d(c) : d(f, !1);
|
|
3335
3335
|
});
|
|
3336
3336
|
}
|
|
3337
|
-
return C(a),
|
|
3337
|
+
return C(a), M(e, a), ie({
|
|
3338
3338
|
get isDisabled() {
|
|
3339
3339
|
return i();
|
|
3340
3340
|
},
|
|
@@ -3355,29 +3355,29 @@ function Sr(e, t) {
|
|
|
3355
3355
|
}
|
|
3356
3356
|
});
|
|
3357
3357
|
}
|
|
3358
|
-
se(
|
|
3359
|
-
var
|
|
3360
|
-
const
|
|
3358
|
+
se(Lr, { isDisabled: {}, isHovered: {}, isOpen: {} }, [], [], !0);
|
|
3359
|
+
var Ms = /* @__PURE__ */ te('<span class="icon svelte-1ybo61g"><img alt="" aria-hidden="true" width="20" height="20"/></span>'), Is = /* @__PURE__ */ te('<button type="button" class="menu-item svelte-1ybo61g" role="menuitem"><!> <div class="menu-text svelte-1ybo61g"> </div></button>'), Ns = /* @__PURE__ */ te('<div tabindex="-1" role="menu"></div>'), Ts = /* @__PURE__ */ te('<div style="position: relative; display: inline-block;" data-profile-menu=""><button class="user-profile-button svelte-1ybo61g" tabindex="0" aria-haspopup="menu"><div class="user-profile-container svelte-1ybo61g"><div class="user-profile-icon svelte-1ybo61g" part="user-profile-icon"><span class="user-initials svelte-1ybo61g"> </span></div></div></button> <!></div>');
|
|
3360
|
+
const Ds = {
|
|
3361
3361
|
hash: "svelte-1ybo61g",
|
|
3362
3362
|
code: `.user-profile-container.svelte-1ybo61g,
|
|
3363
3363
|
.user-profile-icon.svelte-1ybo61g {display:flex;align-items:center;justify-content:center;}.user-profile-container.svelte-1ybo61g,
|
|
3364
3364
|
.user-profile-icon.svelte-1ybo61g {display:flex;align-items:center;justify-content:center;}.user-profile-icon.svelte-1ybo61g {background:var(--ai-color-blue-800);border-radius:var(--ai-size-4);box-sizing:border-box;height:var(--ai-size-40);padding:var(--ai-size-4);white-space:nowrap;width:var(--ai-size-40);}.user-initials.svelte-1ybo61g {color:var(--ai-color-white);font-size:var(--ai-size-16);font-style:normal;font-weight:400;line-height:1;overflow:hidden;text-align:center;text-overflow:ellipsis;}.user-profile-button.svelte-1ybo61g {background:none;border:none;padding:0;cursor:pointer;display:flex;justify-content:center;align-items:center;}.user-profile-button.svelte-1ybo61g:focus {outline:var(--ai-size-2) solid var(--ai-color-blue-600);outline-offset:var(--ai-size-2);border-radius:var(--ai-size-4);}.user-profile-button.svelte-1ybo61g:focus:not(:focus-visible) {outline:none;}.user-profile-container.svelte-1ybo61g {width:var(--ai-size-40);height:var(--ai-size-40);aspect-ratio:1/1;}.profile-context-menu.svelte-1ybo61g {display:flex;width:13.75rem;padding:var(--ai-size-12);flex-direction:column;align-items:flex-start;gap:var(--ai-size-2);border-radius:var(--ai-size-8);border:0.0625rem solid var(--ai-color-steel-200);background:var(--ai-color-white);box-shadow:0 0.1875rem var(--ai-size-6) 0 rgba(50, 54, 61, 0.2);position:absolute;z-index:var(--ai-layer-50);}.profile-context-menu.desktop-align.svelte-1ybo61g {left:100%;top:auto;bottom:0;margin-left:var(--ai-size-8);
|
|
3365
3365
|
/* aligns bottom of menu with bottom of button */transform:translateY(0);}.profile-context-menu.mobile-align.svelte-1ybo61g {top:110%;right:0;left:auto;bottom:auto;margin-left:0;transform:none;}.menu-item.svelte-1ybo61g {display:flex;align-items:center;gap:var(--ai-size-10);flex:1 0 0;width:100%;cursor:pointer;padding:var(--ai-size-8);background:none;border:none;box-shadow:none;outline:none;}.menu-item.svelte-1ybo61g:focus {background:var(--ai-color-steel-200);border-radius:var(--ai-size-4);outline:var(--ai-size-2) solid var(--ai-color-blue-600);outline-offset:var(--ai-size-2);}.menu-item.svelte-1ybo61g:focus:not(:focus-visible) {outline:none;}.menu-item.svelte-1ybo61g:hover {background:var(--ai-color-steel-200);border-radius:var(--ai-size-4);}.icon.svelte-1ybo61g {width:var(--ai-size-20);height:var(--ai-size-20);display:flex;align-items:center;justify-content:center;}.menu-text.svelte-1ybo61g {color:var(--ai-color-black);font-size:var(--ai-size-14);font-style:normal;font-weight:400;line-height:130%;}`
|
|
3366
3366
|
};
|
|
3367
|
-
function
|
|
3368
|
-
ne(t, !1),
|
|
3369
|
-
let r =
|
|
3367
|
+
function yn(e, t) {
|
|
3368
|
+
ne(t, !1), ct(e, Ds);
|
|
3369
|
+
let r = _(t, "menuItems", 28, () => []), n = _(t, "userMeta", 12), i = _(t, "ariaLabel", 12, "Open profile menu"), o = _(t, "menuAlign", 12, "desktop"), s = `profile-menu-${Math.random().toString(36).slice(2, 10)}`, a = /* @__PURE__ */ ut(!1);
|
|
3370
3370
|
function l() {
|
|
3371
|
-
|
|
3371
|
+
q(a, !m(a));
|
|
3372
3372
|
}
|
|
3373
|
-
function
|
|
3374
|
-
|
|
3373
|
+
function c() {
|
|
3374
|
+
q(a, !1);
|
|
3375
3375
|
}
|
|
3376
|
-
function f(
|
|
3376
|
+
function f(N) {
|
|
3377
3377
|
var B;
|
|
3378
3378
|
try {
|
|
3379
3379
|
const J = new CustomEvent("profileMenuAction", {
|
|
3380
|
-
detail: { action:
|
|
3380
|
+
detail: { action: N, timestamp: Date.now(), userMeta: n() },
|
|
3381
3381
|
bubbles: !0,
|
|
3382
3382
|
// Allow event to bubble up through DOM
|
|
3383
3383
|
composed: !0
|
|
@@ -3388,103 +3388,103 @@ function kn(e, t) {
|
|
|
3388
3388
|
console.error("Error dispatching profile menu action:", J);
|
|
3389
3389
|
}
|
|
3390
3390
|
}
|
|
3391
|
-
function d(
|
|
3392
|
-
const B =
|
|
3393
|
-
(!B || !B.closest(".profile-context-menu")) &&
|
|
3391
|
+
function d(N) {
|
|
3392
|
+
const B = N.relatedTarget;
|
|
3393
|
+
(!B || !B.closest(".profile-context-menu")) && c();
|
|
3394
3394
|
}
|
|
3395
|
-
let
|
|
3396
|
-
function
|
|
3397
|
-
var J, W,
|
|
3398
|
-
if (
|
|
3399
|
-
|
|
3400
|
-
const
|
|
3401
|
-
(J = m(v)[
|
|
3402
|
-
} else if (
|
|
3403
|
-
|
|
3404
|
-
const
|
|
3405
|
-
(W = m(v)[
|
|
3406
|
-
} else
|
|
3395
|
+
let u = /* @__PURE__ */ ut(), v = /* @__PURE__ */ ut([]), h = /* @__PURE__ */ ut([]);
|
|
3396
|
+
function y(N, B) {
|
|
3397
|
+
var J, W, T;
|
|
3398
|
+
if (N.key === "ArrowDown") {
|
|
3399
|
+
N.preventDefault();
|
|
3400
|
+
const D = (B + 1) % r().length;
|
|
3401
|
+
(J = m(v)[D]) == null || J.focus();
|
|
3402
|
+
} else if (N.key === "ArrowUp") {
|
|
3403
|
+
N.preventDefault();
|
|
3404
|
+
const D = (B - 1 + r().length) % r().length;
|
|
3405
|
+
(W = m(v)[D]) == null || W.focus();
|
|
3406
|
+
} else N.key === "Escape" && (c(), (T = m(u)) == null || T.focus(), N.stopPropagation());
|
|
3407
3407
|
}
|
|
3408
|
-
function
|
|
3408
|
+
function S(N) {
|
|
3409
3409
|
var B;
|
|
3410
|
-
m(a) &&
|
|
3410
|
+
m(a) && N.key === "Escape" && (c(), (B = m(u)) == null || B.focus(), N.stopPropagation());
|
|
3411
3411
|
}
|
|
3412
|
-
er(() => (window.addEventListener("keydown",
|
|
3413
|
-
window.removeEventListener("keydown",
|
|
3414
|
-
})), ia(() => m(
|
|
3415
|
-
|
|
3412
|
+
er(() => (window.addEventListener("keydown", S, !0), () => {
|
|
3413
|
+
window.removeEventListener("keydown", S, !0);
|
|
3414
|
+
})), ia(() => m(h), () => {
|
|
3415
|
+
q(v, m(h).filter(Boolean));
|
|
3416
3416
|
}), oa(), ja();
|
|
3417
|
-
var
|
|
3418
|
-
C(
|
|
3419
|
-
var
|
|
3417
|
+
var L = Ts(), g = E(L), b = E(g), p = E(b), k = E(p), O = E(k, !0);
|
|
3418
|
+
C(k), C(p), C(b), C(g), nt(g, (N) => q(u, N), () => m(u));
|
|
3419
|
+
var $ = ue(g, 2);
|
|
3420
3420
|
{
|
|
3421
|
-
var A = (
|
|
3422
|
-
var B =
|
|
3423
|
-
Pi(B, 7, r, (J) => J.label, (J, W,
|
|
3424
|
-
var
|
|
3421
|
+
var A = (N) => {
|
|
3422
|
+
var B = Ns();
|
|
3423
|
+
Pi(B, 7, r, (J) => J.label, (J, W, T) => {
|
|
3424
|
+
var D = Is(), Y = E(D);
|
|
3425
3425
|
{
|
|
3426
|
-
var
|
|
3427
|
-
var ee =
|
|
3428
|
-
C(ee),
|
|
3426
|
+
var z = (U) => {
|
|
3427
|
+
var ee = Ms(), fe = E(ee);
|
|
3428
|
+
C(ee), he(() => K(fe, "src", (m(W), He(() => m(W).icon)))), M(U, ee);
|
|
3429
3429
|
};
|
|
3430
3430
|
X(Y, (U) => {
|
|
3431
|
-
m(W), He(() => m(W).icon) && U(
|
|
3431
|
+
m(W), He(() => m(W).icon) && U(z);
|
|
3432
3432
|
});
|
|
3433
3433
|
}
|
|
3434
|
-
var
|
|
3435
|
-
C(
|
|
3434
|
+
var I = ue(Y, 2), V = E(I, !0);
|
|
3435
|
+
C(I), C(D), nt(D, (U, ee) => Xo(h, m(h)[ee] = U), (U) => {
|
|
3436
3436
|
var ee;
|
|
3437
|
-
return (ee = m(
|
|
3438
|
-
}, () => [m(
|
|
3439
|
-
f(m(W).action),
|
|
3440
|
-
}),
|
|
3441
|
-
}), C(B),
|
|
3437
|
+
return (ee = m(h)) == null ? void 0 : ee[U];
|
|
3438
|
+
}, () => [m(T)]), he(() => Kt(V, (m(W), He(() => m(W).label)))), be("click", D, () => {
|
|
3439
|
+
f(m(W).action), c();
|
|
3440
|
+
}), be("keydown", D, (U) => y(U, m(T))), M(J, D);
|
|
3441
|
+
}), C(B), he(() => {
|
|
3442
3442
|
we(B, 1, `profile-context-menu ${o() === "desktop" ? "desktop-align" : "mobile-align"}`, "svelte-1ybo61g"), K(B, "id", s);
|
|
3443
|
-
}),
|
|
3443
|
+
}), M(N, B);
|
|
3444
3444
|
};
|
|
3445
|
-
X(
|
|
3446
|
-
m(a) &&
|
|
3445
|
+
X($, (N) => {
|
|
3446
|
+
m(a) && N(A);
|
|
3447
3447
|
});
|
|
3448
3448
|
}
|
|
3449
|
-
return C(
|
|
3450
|
-
K(
|
|
3451
|
-
var
|
|
3452
|
-
return (
|
|
3449
|
+
return C(L), he(() => {
|
|
3450
|
+
K(g, "aria-label", i()), K(g, "aria-expanded", m(a)), K(g, "aria-controls", s), Kt(O, (qi(n()), He(() => {
|
|
3451
|
+
var N;
|
|
3452
|
+
return (N = n()) == null ? void 0 : N.initials;
|
|
3453
3453
|
})));
|
|
3454
|
-
}),
|
|
3454
|
+
}), be("click", g, l), be("blur", g, d), M(e, L), ie({
|
|
3455
3455
|
get menuItems() {
|
|
3456
3456
|
return r();
|
|
3457
3457
|
},
|
|
3458
|
-
set menuItems(
|
|
3459
|
-
r(
|
|
3458
|
+
set menuItems(N) {
|
|
3459
|
+
r(N), w();
|
|
3460
3460
|
},
|
|
3461
3461
|
get userMeta() {
|
|
3462
3462
|
return n();
|
|
3463
3463
|
},
|
|
3464
|
-
set userMeta(
|
|
3465
|
-
n(
|
|
3464
|
+
set userMeta(N) {
|
|
3465
|
+
n(N), w();
|
|
3466
3466
|
},
|
|
3467
3467
|
get ariaLabel() {
|
|
3468
3468
|
return i();
|
|
3469
3469
|
},
|
|
3470
|
-
set ariaLabel(
|
|
3471
|
-
i(
|
|
3470
|
+
set ariaLabel(N) {
|
|
3471
|
+
i(N), w();
|
|
3472
3472
|
},
|
|
3473
3473
|
get menuAlign() {
|
|
3474
3474
|
return o();
|
|
3475
3475
|
},
|
|
3476
|
-
set menuAlign(
|
|
3477
|
-
o(
|
|
3476
|
+
set menuAlign(N) {
|
|
3477
|
+
o(N), w();
|
|
3478
3478
|
}
|
|
3479
3479
|
});
|
|
3480
3480
|
}
|
|
3481
|
-
se(
|
|
3482
|
-
var
|
|
3481
|
+
se(yn, { menuItems: {}, userMeta: {}, ariaLabel: {}, menuAlign: {} }, [], [], !0);
|
|
3482
|
+
var $s = /* @__PURE__ */ oe('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M9.87891 7.51884C11.0505 6.49372 12.95 6.49372 14.1215 7.51884C15.2931 8.54397 15.2931 10.206 14.1215 11.2312C13.9176 11.4096 13.6917 11.5569 13.4513 11.6733C12.7056 12.0341 12.0002 12.6716 12.0002 13.5V14.25M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12ZM12 17.25H12.0075V17.2575H12V17.25Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>');
|
|
3483
3483
|
function xn(e, t) {
|
|
3484
3484
|
ne(t, !1);
|
|
3485
|
-
let r =
|
|
3486
|
-
var n =
|
|
3487
|
-
return C(n),
|
|
3485
|
+
let r = _(t, "isSelected", 12, !1);
|
|
3486
|
+
var n = $s(), i = E(n);
|
|
3487
|
+
return C(n), he(() => K(i, "stroke", r() ? "#000" : "#585C63")), M(e, n), ie({
|
|
3488
3488
|
get isSelected() {
|
|
3489
3489
|
return r();
|
|
3490
3490
|
},
|
|
@@ -3494,12 +3494,12 @@ function xn(e, t) {
|
|
|
3494
3494
|
});
|
|
3495
3495
|
}
|
|
3496
3496
|
se(xn, { isSelected: {} }, [], [], !0);
|
|
3497
|
-
function
|
|
3497
|
+
function qs(e, t) {
|
|
3498
3498
|
(t === "#" || t != null && t.startsWith("#")) && e.preventDefault();
|
|
3499
3499
|
}
|
|
3500
3500
|
function As(e, t, r, n) {
|
|
3501
3501
|
var i;
|
|
3502
|
-
t() || (
|
|
3502
|
+
t() || (pe.toggleExpanded(), (i = r()) == null || i({ expanded: n() }));
|
|
3503
3503
|
}
|
|
3504
3504
|
var Us = (
|
|
3505
3505
|
// Set navigation flag immediately to prevent header restoration
|
|
@@ -3511,117 +3511,117 @@ var Us = (
|
|
|
3511
3511
|
(e, t) => t("discover")
|
|
3512
3512
|
), Hs = (e, t, r) => {
|
|
3513
3513
|
t(e, "discover"), r(e, 0);
|
|
3514
|
-
}, Os = /* @__PURE__ */ te('<a part="discover-item"><div class="icon-container svelte-
|
|
3514
|
+
}, Os = /* @__PURE__ */ te('<a part="discover-item"><div class="icon-container svelte-8c4c8n" part="discover-icon-container"><div class="icon-wrapper svelte-8c4c8n"><!></div></div> <span class="nav-text svelte-8c4c8n">Discover</span></a>'), Vs = (e, t) => t("chat"), Ps = (e, t, r) => {
|
|
3515
3515
|
t(e, "chat"), r(e, 1);
|
|
3516
3516
|
}, Rs = (e, t) => t("console"), Bs = (e, t, r) => {
|
|
3517
3517
|
t(e, "console"), r(e, 2);
|
|
3518
3518
|
}, js = (e, t) => t("api"), Fs = (e, t, r) => {
|
|
3519
3519
|
t(e, "api"), r(e, 3);
|
|
3520
|
-
}, Zs = /* @__PURE__ */ te('<div class="nav-items svelte-
|
|
3520
|
+
}, Zs = /* @__PURE__ */ te('<div class="nav-items svelte-8c4c8n" part="nav-items"><!> <a part="chat-item"><div class="icon-container svelte-8c4c8n" part="chat-icon-container"><div class="icon-wrapper svelte-8c4c8n"><!></div></div> <span class="nav-text svelte-8c4c8n">Chat</span></a> <a part="console-item"><div class="icon-container svelte-8c4c8n" part="console-icon-container"><div class="icon-wrapper svelte-8c4c8n"><!></div></div> <span class="nav-text svelte-8c4c8n">Console</span></a> <a part="api-item"><div class="icon-container svelte-8c4c8n" part="api-icon-container"><div class="icon-wrapper svelte-8c4c8n"><!></div></div> <span class="nav-text svelte-8c4c8n">API</span></a></div>'), Ys = /* @__PURE__ */ te('<div class="nav-footer-icon-container svelte-8c4c8n" part="nav-footer-icon-container"><a part="help-link" title="Help" aria-label="Help"><div class="icon-container svelte-8c4c8n" part="help-icon-container"><div class="icon-wrapper svelte-8c4c8n"><!></div></div></a></div>'), Ks = /* @__PURE__ */ te('<div class="nav-footer svelte-8c4c8n" part="nav-footer"><!> <div class="nav-footer-profile-container svelte-8c4c8n"><!></div></div>'), Js = /* @__PURE__ */ te('<div class="drawer-content svelte-8c4c8n" part="drawer-content"><nav aria-label="Sub navigation" part="sub-navigation" class="svelte-8c4c8n"><!></nav></div>'), Ws = /* @__PURE__ */ te('<div part="side-nav-container" data-testid="side-nav-container"><div class="nav-content svelte-8c4c8n" part="nav-content"><div class="nav-main svelte-8c4c8n" part="nav-main"><div class="menu-section svelte-8c4c8n" part="menu-section"><button><div class="icon-container svelte-8c4c8n" part="icon-container"><div class="icon-wrapper svelte-8c4c8n"><!></div></div></button></div> <!></div> <!></div> <div part="expanded-content"><!></div></div>');
|
|
3521
3521
|
const Gs = {
|
|
3522
|
-
hash: "svelte-
|
|
3523
|
-
code: `.expanded-content.drawer-anim.svelte-
|
|
3524
|
-
.menu-button.disabled.svelte-
|
|
3525
|
-
.nav-item.svelte-
|
|
3526
|
-
.help-link.svelte-
|
|
3527
|
-
.nav-item.svelte-
|
|
3528
|
-
.help-link.svelte-
|
|
3522
|
+
hash: "svelte-8c4c8n",
|
|
3523
|
+
code: `.expanded-content.drawer-anim.svelte-8c4c8n {max-width:0;overflow:hidden;pointer-events:none;transition:max-width var(--ai-duration-fast) cubic-bezier(0.4, 0, 0.2, 1);}.expanded-content.drawer-anim.open.svelte-8c4c8n {max-width:12.5rem;pointer-events:auto;}.drawer-content.svelte-8c4c8n {width:12.5rem;height:100%;display:flex;flex-direction:column;padding-top:var(--ai-size-72);}.drawer-content.svelte-8c4c8n nav:where(.svelte-8c4c8n) {flex:1;overflow-y:auto;overflow-x:hidden;}.menu-button.svelte-8c4c8n {display:flex;align-items:center;justify-content:center;border:none;background:none;cursor:pointer;border-radius:var(--ai-size-8);transition:background-color var(--ai-transition-ease-fast);}.menu-button.svelte-8c4c8n:disabled,
|
|
3524
|
+
.menu-button.disabled.svelte-8c4c8n {cursor:not-allowed;opacity:0.5;background-color:transparent;}.side-nav-container.svelte-8c4c8n {display:flex;flex-shrink:0;position:relative;z-index:var(--ai-layer-2);height:100%;}.side-nav-container.expanded.svelte-8c4c8n {width:16.875rem;min-width:12.5rem;max-width:16.875rem;height:100%;}.expanded-content.svelte-8c4c8n {display:flex;width:12.5rem;opacity:1;flex:none;height:100%;background:var(--ai-color-steel-50);border-right:0.0625rem solid var(--ai-color-steel-100);overflow:hidden;flex-direction:column;}.side-nav-container.expanded.svelte-8c4c8n .expanded-content:where(.svelte-8c4c8n) {width:12.5rem;opacity:1;overflow:hidden;}.side-nav-container.svelte-8c4c8n:not(.expanded) .expanded-content:where(.svelte-8c4c8n) {width:0;opacity:0;}.nav-content.svelte-8c4c8n {display:flex;width:var(--ai-size-72);height:100%;padding-bottom:var(--ai-size-16);flex-direction:column;align-items:flex-start;gap:var(--ai-size-4);flex:none;background:var(--ai-color-steel-100);border-right:0.0625rem solid var(--ai-color-steel-200);}.nav-main.svelte-8c4c8n {display:flex;flex-direction:column;align-items:flex-start;gap:var(--ai-size-4);flex:1 0 0;align-self:stretch;}.nav-footer.svelte-8c4c8n {display:flex;padding:var(--ai-size-8) var(--ai-size-4);flex-direction:column;justify-content:center;align-items:center;gap:var(--ai-size-4);align-self:stretch;margin-top:auto;}.menu-section.svelte-8c4c8n {display:flex;padding:var(--ai-size-4);justify-content:center;align-items:center;align-self:stretch;}.menu-button.svelte-8c4c8n {display:flex;padding:var(--ai-size-4);justify-content:center;align-items:center;background:none;border:none;cursor:pointer;opacity:1;transition:opacity var(--ai-transition-ease-fast);will-change:opacity;}.menu-button.disabled.svelte-8c4c8n {cursor:not-allowed;opacity:0.5;will-change:opacity;}.menu-button.svelte-8c4c8n:focus,
|
|
3525
|
+
.nav-item.svelte-8c4c8n:focus,
|
|
3526
|
+
.help-link.svelte-8c4c8n:focus {outline:none;}.menu-button.svelte-8c4c8n:focus .icon-container:where(.svelte-8c4c8n),
|
|
3527
|
+
.nav-item.svelte-8c4c8n:focus .icon-container:where(.svelte-8c4c8n),
|
|
3528
|
+
.help-link.svelte-8c4c8n:focus .icon-container:where(.svelte-8c4c8n) {outline:var(--ai-size-2) solid var(--ai-color-blue-600);outline-offset:var(--ai-size-2);border-radius:var(--ai-size-4);}
|
|
3529
3529
|
|
|
3530
|
-
/* Hide focus outline on click */.menu-button.svelte-
|
|
3531
|
-
.nav-item.svelte-
|
|
3532
|
-
.help-link.svelte-
|
|
3533
|
-
border-radius var(--ai-transition-ease-medium);}.icon-wrapper.svelte-
|
|
3530
|
+
/* Hide focus outline on click */.menu-button.svelte-8c4c8n:focus:not(:focus-visible) .icon-container:where(.svelte-8c4c8n),
|
|
3531
|
+
.nav-item.svelte-8c4c8n:focus:not(:focus-visible) .icon-container:where(.svelte-8c4c8n),
|
|
3532
|
+
.help-link.svelte-8c4c8n:focus:not(:focus-visible) .icon-container:where(.svelte-8c4c8n) {outline:none;}.nav-items.svelte-8c4c8n {display:flex;width:var(--ai-size-72);flex-direction:column;align-items:flex-start;gap:var(--ai-size-4);}.nav-item.svelte-8c4c8n {display:flex;height:4.125rem;padding:var(--ai-size-4);flex-direction:column;justify-content:center;align-items:center;gap:var(--ai-size-2);align-self:stretch;cursor:pointer;text-decoration:none;color:inherit;position:relative;flex-shrink:0;}.icon-container.svelte-8c4c8n {display:flex;width:var(--ai-size-40);height:var(--ai-size-40);justify-content:center;align-items:center;flex-shrink:0;position:relative;contain:layout style;transition:background-color var(--ai-transition-ease-medium),
|
|
3533
|
+
border-radius var(--ai-transition-ease-medium);}.icon-wrapper.svelte-8c4c8n {display:flex;width:var(--ai-size-28);height:var(--ai-size-28);justify-content:center;align-items:center;flex-shrink:0;aspect-ratio:1/1;position:relative;overflow:hidden;transition:transform var(--ai-transition-ease-medium);}.icon-wrapper.svelte-8c4c8n svg {width:var(--ai-size-24);height:var(--ai-size-24);flex-shrink:0;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);transition:all var(--ai-transition-ease-medium);}.icon-wrapper.svelte-8c4c8n svg path {stroke-width:1.5;vector-effect:non-scaling-stroke;transition:stroke var(--ai-transition-ease-medium),
|
|
3534
3534
|
fill var(--ai-transition-ease-medium),
|
|
3535
|
-
stroke-width var(--ai-transition-ease-medium);}.nav-text.svelte-
|
|
3536
|
-
.menu-button.svelte-
|
|
3537
|
-
.nav-item.svelte-
|
|
3538
|
-
.nav-item.selected.svelte-
|
|
3539
|
-
.nav-item.selected.hovered.svelte-
|
|
3540
|
-
.menu-button.svelte-
|
|
3541
|
-
.menu-button.svelte-
|
|
3542
|
-
.help-link.svelte-
|
|
3543
|
-
.help-link.selected.svelte-
|
|
3535
|
+
stroke-width var(--ai-transition-ease-medium);}.nav-text.svelte-8c4c8n {font-size:var(--ai-size-12);text-align:center;color:var(--ai-color-neutral-900);line-height:1.3;}.menu-button.disabled.svelte-8c4c8n:hover .icon-container:where(.svelte-8c4c8n),
|
|
3536
|
+
.menu-button.svelte-8c4c8n:disabled:hover .icon-container:where(.svelte-8c4c8n) {background:none !important;border-radius:var(--ai-size-4);}.nav-item.hovered.svelte-8c4c8n .icon-container:where(.svelte-8c4c8n),
|
|
3537
|
+
.nav-item.svelte-8c4c8n:active .icon-container:where(.svelte-8c4c8n),
|
|
3538
|
+
.nav-item.selected.svelte-8c4c8n .icon-container:where(.svelte-8c4c8n),
|
|
3539
|
+
.nav-item.selected.hovered.svelte-8c4c8n .icon-container:where(.svelte-8c4c8n),
|
|
3540
|
+
.menu-button.svelte-8c4c8n:hover .icon-container:where(.svelte-8c4c8n),
|
|
3541
|
+
.menu-button.svelte-8c4c8n:active .icon-container:where(.svelte-8c4c8n),
|
|
3542
|
+
.help-link.svelte-8c4c8n:hover .icon-container:where(.svelte-8c4c8n),
|
|
3543
|
+
.help-link.selected.svelte-8c4c8n .icon-container:where(.svelte-8c4c8n) {background-color:var(--ai-color-steel-300);border-radius:var(--ai-size-4);}.nav-item.svelte-8c4c8n {flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--ai-size-4);text-decoration:none;color:var(--ai-color-neutral-600);transition:color var(--ai-transition-ease-fast);height:100%;}.nav-item.svelte-8c4c8n:hover {color:var(--ai-color-neutral-700);}.nav-footer-icon-container.svelte-8c4c8n {align-items:center;display:flex;flex-direction:column;justify-content:center;margin-block-end:var(--ai-size-4);}.nav-footer-profile-container.svelte-8c4c8n {display:flex;padding:var(--ai-size-8) var(--ai-size-4);flex-direction:column;justify-content:center;align-items:center;gap:var(--ai-size-4);align-self:stretch;}.help-link.svelte-8c4c8n {display:flex;align-items:center;justify-content:center;text-decoration:none;color:inherit;}.help-link.svelte-8c4c8n svg {display:block;}`
|
|
3544
3544
|
};
|
|
3545
3545
|
function to(e, t) {
|
|
3546
|
-
var
|
|
3547
|
-
ne(t, !0),
|
|
3548
|
-
const [r, n] = tr(), i = () => Ve(
|
|
3549
|
-
function
|
|
3546
|
+
var Mn, In, Nn;
|
|
3547
|
+
ne(t, !0), ct(e, Gs);
|
|
3548
|
+
const [r, n] = tr(), i = () => Ve(pt, "$selectedItem", r), o = () => Ve(Ae, "$isExpanded", r), s = () => Ve(gn, "$isMenuButtonDisabled", r), a = _(t, "ssrSelectedItem", 7, void 0), l = _(t, "onNavToggle", 7, void 0), c = _(t, "onNavItemClick", 7, void 0), f = _(t, "showAppIcons", 7, !0), d = _(t, "hideDiscover", 7, !0), u = _(t, "profileMenuData", 7), v = _(t, "apiUrl", 7), h = _(t, "chatUrl", 7), y = _(t, "consoleUrl", 7), S = _(t, "discoverUrl", 7), L = _(t, "supplementalMenuData", 7), g = (Nn = (In = (Mn = L()) == null ? void 0 : Mn.help) == null ? void 0 : In.url) == null ? void 0 : Nn.trim();
|
|
3549
|
+
function b(x, j) {
|
|
3550
3550
|
try {
|
|
3551
3551
|
return new URL(x, j).pathname;
|
|
3552
3552
|
} catch {
|
|
3553
3553
|
return null;
|
|
3554
3554
|
}
|
|
3555
3555
|
}
|
|
3556
|
-
function
|
|
3557
|
-
if (!
|
|
3556
|
+
function p() {
|
|
3557
|
+
if (!g || g === "#" || g.startsWith("#"))
|
|
3558
3558
|
return !1;
|
|
3559
3559
|
const x = globalThis.location;
|
|
3560
3560
|
if (x != null && x.origin && (x != null && x.pathname)) {
|
|
3561
|
-
const j =
|
|
3561
|
+
const j = b(g, x.origin);
|
|
3562
3562
|
return j !== null && x.pathname === j;
|
|
3563
3563
|
}
|
|
3564
3564
|
return !1;
|
|
3565
3565
|
}
|
|
3566
|
-
const
|
|
3567
|
-
let O = !1,
|
|
3568
|
-
function
|
|
3566
|
+
const k = /* @__PURE__ */ re(p);
|
|
3567
|
+
let O = !1, $, A = /* @__PURE__ */ ge(null), N = /* @__PURE__ */ ge(!1), B = /* @__PURE__ */ ge(!1), J = /* @__PURE__ */ ge(null), W = /* @__PURE__ */ ge(null), T = /* @__PURE__ */ ge(null), D = /* @__PURE__ */ ge(null), Y = null;
|
|
3568
|
+
function z(x, j) {
|
|
3569
3569
|
return O ? x : j;
|
|
3570
3570
|
}
|
|
3571
|
-
function
|
|
3572
|
-
return
|
|
3571
|
+
function I(x) {
|
|
3572
|
+
return z(i() === x, a() === x);
|
|
3573
3573
|
}
|
|
3574
3574
|
function V(x) {
|
|
3575
3575
|
return m(A) === x;
|
|
3576
3576
|
}
|
|
3577
|
-
const U = /* @__PURE__ */ re(() => () =>
|
|
3577
|
+
const U = /* @__PURE__ */ re(() => () => z(o(), a() ? a() !== "discover" : !0)), ee = /* @__PURE__ */ re(() => () => z(s(), a() ? a() === "discover" : !1)), fe = /* @__PURE__ */ re(() => () => z(o(), a() ? a() !== "discover" : !0)), nr = /* @__PURE__ */ re(() => () => m(B) && m(N) && !m(ee)());
|
|
3578
3578
|
er(() => {
|
|
3579
|
-
if (O = !0, document.documentElement.classList.remove("nav-initially-expanded"), document.documentElement.style.removeProperty("--initial-main-top-padding"),
|
|
3579
|
+
if (O = !0, document.documentElement.classList.remove("nav-initially-expanded"), document.documentElement.style.removeProperty("--initial-main-top-padding"), $ && $.classList.add("hydrated"), typeof window < "u") {
|
|
3580
3580
|
const x = window.matchMedia("(hover: hover)");
|
|
3581
|
-
|
|
3582
|
-
|
|
3581
|
+
q(B, x.matches, !0), x.addEventListener("change", (de) => {
|
|
3582
|
+
q(B, de.matches, !0);
|
|
3583
3583
|
});
|
|
3584
3584
|
const j = (de) => {
|
|
3585
|
-
const
|
|
3586
|
-
if (
|
|
3587
|
-
|
|
3585
|
+
const _e = de, { isMobile: ke } = _e.detail;
|
|
3586
|
+
if (ke)
|
|
3587
|
+
pe.setExpanded(!1);
|
|
3588
3588
|
else {
|
|
3589
3589
|
const ae = i();
|
|
3590
|
-
ae && ae !== "discover" ?
|
|
3590
|
+
ae && ae !== "discover" ? pe.setExpanded(!0) : pe.setExpanded(!1);
|
|
3591
3591
|
}
|
|
3592
3592
|
};
|
|
3593
3593
|
window.addEventListener("layoutTransition", j);
|
|
3594
3594
|
const P = (de) => {
|
|
3595
|
-
const
|
|
3596
|
-
de.key === "Escape" && o() && !(
|
|
3595
|
+
const _e = document.activeElement;
|
|
3596
|
+
de.key === "Escape" && o() && !(_e && _e.closest(".profile-context-menu")) && pe.setExpanded(!1);
|
|
3597
3597
|
};
|
|
3598
3598
|
window.addEventListener("keydown", P);
|
|
3599
|
-
const
|
|
3600
|
-
const
|
|
3601
|
-
|
|
3599
|
+
const ce = (de) => {
|
|
3600
|
+
const _e = de, { action: ke, isOpen: ae } = _e.detail;
|
|
3601
|
+
ke === "toggle" ? pe.toggleExpanded() : ke === "open" ? pe.setExpanded(!0) : ke === "close" ? pe.setExpanded(!1) : ke === "set" && typeof ae == "boolean" && pe.setExpanded(ae);
|
|
3602
3602
|
};
|
|
3603
|
-
window.addEventListener("graymatter-desktop-nav-control",
|
|
3604
|
-
window.removeEventListener("graymatter-desktop-nav-control",
|
|
3603
|
+
window.addEventListener("graymatter-desktop-nav-control", ce), Y = () => {
|
|
3604
|
+
window.removeEventListener("graymatter-desktop-nav-control", ce);
|
|
3605
3605
|
};
|
|
3606
3606
|
const G = () => {
|
|
3607
|
-
m(
|
|
3607
|
+
m(k);
|
|
3608
3608
|
};
|
|
3609
3609
|
return window.addEventListener("popstate", G), () => {
|
|
3610
3610
|
window.removeEventListener("layoutTransition", j), window.removeEventListener("keydown", P), window.removeEventListener("popstate", G), Y && Y();
|
|
3611
3611
|
};
|
|
3612
3612
|
}
|
|
3613
3613
|
});
|
|
3614
|
-
function
|
|
3614
|
+
function It(x) {
|
|
3615
3615
|
var j;
|
|
3616
|
-
if (x !== "discover" && typeof window < "u" && sessionStorage.setItem("navigatingToMainNav", "true"),
|
|
3616
|
+
if (x !== "discover" && typeof window < "u" && sessionStorage.setItem("navigatingToMainNav", "true"), pe.setSelectedItem(x), x !== "discover")
|
|
3617
3617
|
try {
|
|
3618
|
-
Promise.resolve().then(() =>
|
|
3618
|
+
Promise.resolve().then(() => gr).then(({ selectedSubNavItemTitle: P }) => {
|
|
3619
3619
|
P.set(""), typeof window < "u" && (sessionStorage.removeItem("subNav-selectedTitle"), sessionStorage.removeItem("subNav-selectedId")), setTimeout(
|
|
3620
3620
|
() => {
|
|
3621
3621
|
if (typeof document < "u") {
|
|
3622
|
-
const
|
|
3623
|
-
if (
|
|
3624
|
-
const G =
|
|
3622
|
+
const ce = document.getElementById("main-content");
|
|
3623
|
+
if (ce) {
|
|
3624
|
+
const G = ce.querySelector("h2[id], h3[id], h4[id], h5[id], h6[id]");
|
|
3625
3625
|
if (G && G.textContent) {
|
|
3626
3626
|
const de = G.textContent.trim();
|
|
3627
3627
|
P.set(de), typeof window < "u" && sessionStorage.setItem("subNav-selectedTitle", JSON.stringify(de));
|
|
@@ -3639,7 +3639,7 @@ function to(e, t) {
|
|
|
3639
3639
|
}
|
|
3640
3640
|
else
|
|
3641
3641
|
try {
|
|
3642
|
-
Promise.resolve().then(() =>
|
|
3642
|
+
Promise.resolve().then(() => gr).then(({ selectedSubNavItemTitle: P }) => {
|
|
3643
3643
|
P.set(""), typeof window < "u" && (sessionStorage.removeItem("subNav-selectedTitle"), sessionStorage.removeItem("subNav-selectedId"));
|
|
3644
3644
|
}).catch((P) => {
|
|
3645
3645
|
console.log("[DesktopSideNav] Error clearing header state for Discover:", P);
|
|
@@ -3647,38 +3647,38 @@ function to(e, t) {
|
|
|
3647
3647
|
} catch (P) {
|
|
3648
3648
|
console.log("[DesktopSideNav] Import failed for clearing Discover state:", P);
|
|
3649
3649
|
}
|
|
3650
|
-
(j =
|
|
3650
|
+
(j = c()) == null || j({ item: x, expanded: o() });
|
|
3651
3651
|
}
|
|
3652
3652
|
function ir(x, j) {
|
|
3653
|
-
(x.key === "Enter" || x.key === " ") && (x.preventDefault(),
|
|
3653
|
+
(x.key === "Enter" || x.key === " ") && (x.preventDefault(), It(j));
|
|
3654
3654
|
}
|
|
3655
3655
|
function or(x, j) {
|
|
3656
|
-
var G, de,
|
|
3656
|
+
var G, de, _e, ke;
|
|
3657
3657
|
const P = [
|
|
3658
3658
|
m(J),
|
|
3659
3659
|
m(W),
|
|
3660
|
-
m(
|
|
3661
|
-
m(
|
|
3662
|
-
],
|
|
3663
|
-
if (
|
|
3660
|
+
m(T),
|
|
3661
|
+
m(D)
|
|
3662
|
+
], ce = P.length;
|
|
3663
|
+
if (ce)
|
|
3664
3664
|
if (x.key === "ArrowDown") {
|
|
3665
3665
|
x.preventDefault();
|
|
3666
|
-
const ae = (j + 1) %
|
|
3666
|
+
const ae = (j + 1) % ce;
|
|
3667
3667
|
(G = P[ae]) == null || G.focus();
|
|
3668
3668
|
} else if (x.key === "ArrowUp") {
|
|
3669
3669
|
x.preventDefault();
|
|
3670
|
-
const ae = (j - 1 +
|
|
3670
|
+
const ae = (j - 1 + ce) % ce;
|
|
3671
3671
|
(de = P[ae]) == null || de.focus();
|
|
3672
|
-
} else x.key === "Home" ? (x.preventDefault(), (
|
|
3672
|
+
} else x.key === "Home" ? (x.preventDefault(), (_e = P[0]) == null || _e.focus()) : x.key === "End" && (x.preventDefault(), (ke = P[ce - 1]) == null || ke.focus());
|
|
3673
3673
|
}
|
|
3674
|
-
var
|
|
3674
|
+
var Nt = Ws();
|
|
3675
3675
|
let Cn;
|
|
3676
|
-
var
|
|
3676
|
+
var Mr = E(Nt), Ir = E(Mr), Nr = E(Ir), $e = E(Nr);
|
|
3677
3677
|
let En;
|
|
3678
|
-
|
|
3679
|
-
var
|
|
3678
|
+
$e.__click = [As, s, l, o];
|
|
3679
|
+
var Sn = E($e), Ln = E(Sn), oo = E(Ln);
|
|
3680
3680
|
const ao = /* @__PURE__ */ re(() => m(nr)()), so = /* @__PURE__ */ re(() => m(ee)()), lo = /* @__PURE__ */ re(() => m(fe)());
|
|
3681
|
-
|
|
3681
|
+
Lr(oo, {
|
|
3682
3682
|
get isHovered() {
|
|
3683
3683
|
return m(ao);
|
|
3684
3684
|
},
|
|
@@ -3688,157 +3688,157 @@ function to(e, t) {
|
|
|
3688
3688
|
get isOpen() {
|
|
3689
3689
|
return m(lo);
|
|
3690
3690
|
}
|
|
3691
|
-
}), C(
|
|
3692
|
-
var
|
|
3691
|
+
}), C(Ln), C(Sn), C($e), C(Nr);
|
|
3692
|
+
var co = ue(Nr, 2);
|
|
3693
3693
|
{
|
|
3694
|
-
var
|
|
3694
|
+
var uo = (x) => {
|
|
3695
3695
|
var j = Zs(), P = E(j);
|
|
3696
3696
|
{
|
|
3697
|
-
var
|
|
3697
|
+
var ce = (qe) => {
|
|
3698
3698
|
var Ce = Os();
|
|
3699
3699
|
let ar;
|
|
3700
|
-
Ce.__click = [Us,
|
|
3701
|
-
var sr = E(Ce), lr = E(sr),
|
|
3702
|
-
const wo = /* @__PURE__ */ re(() =>
|
|
3703
|
-
mn(
|
|
3700
|
+
Ce.__click = [Us, It], Ce.__keydown = [Hs, ir, or];
|
|
3701
|
+
var sr = E(Ce), lr = E(sr), qr = E(lr);
|
|
3702
|
+
const wo = /* @__PURE__ */ re(() => I("discover"));
|
|
3703
|
+
mn(qr, {
|
|
3704
3704
|
get isSelected() {
|
|
3705
3705
|
return m(wo);
|
|
3706
3706
|
}
|
|
3707
|
-
}), C(lr), C(sr), je(2), C(Ce), nt(Ce, (Ar) =>
|
|
3708
|
-
(Ar,
|
|
3709
|
-
K(Ce, "href",
|
|
3707
|
+
}), C(lr), C(sr), je(2), C(Ce), nt(Ce, (Ar) => q(J, Ar), () => m(J)), he(
|
|
3708
|
+
(Ar, _o) => {
|
|
3709
|
+
K(Ce, "href", S() || "#"), ar = we(Ce, 1, "nav-item discover-item svelte-8c4c8n", null, ar, Ar), K(Ce, "aria-current", _o);
|
|
3710
3710
|
},
|
|
3711
3711
|
[
|
|
3712
3712
|
() => ({
|
|
3713
|
-
selected:
|
|
3713
|
+
selected: I("discover"),
|
|
3714
3714
|
hovered: V("discover")
|
|
3715
3715
|
}),
|
|
3716
|
-
() =>
|
|
3716
|
+
() => I("discover") ? "page" : void 0
|
|
3717
3717
|
]
|
|
3718
|
-
),
|
|
3718
|
+
), be("mouseenter", Ce, () => q(A, "discover")), be("mouseleave", Ce, () => q(A, null)), M(qe, Ce);
|
|
3719
3719
|
};
|
|
3720
|
-
X(P, (
|
|
3721
|
-
d() ||
|
|
3720
|
+
X(P, (qe) => {
|
|
3721
|
+
d() || qe(ce);
|
|
3722
3722
|
});
|
|
3723
3723
|
}
|
|
3724
|
-
var G =
|
|
3724
|
+
var G = ue(P, 2);
|
|
3725
3725
|
let de;
|
|
3726
|
-
G.__click = [Vs,
|
|
3727
|
-
var
|
|
3728
|
-
const
|
|
3726
|
+
G.__click = [Vs, It], G.__keydown = [Ps, ir, or];
|
|
3727
|
+
var _e = E(G), ke = E(_e), ae = E(ke);
|
|
3728
|
+
const Tt = /* @__PURE__ */ re(() => I("chat"));
|
|
3729
3729
|
wn(ae, {
|
|
3730
3730
|
get isSelected() {
|
|
3731
|
-
return m(
|
|
3731
|
+
return m(Tt);
|
|
3732
3732
|
}
|
|
3733
|
-
}), C(
|
|
3734
|
-
var ve =
|
|
3735
|
-
let
|
|
3736
|
-
ve.__click = [Rs,
|
|
3737
|
-
var
|
|
3738
|
-
const
|
|
3739
|
-
|
|
3733
|
+
}), C(ke), C(_e), je(2), C(G), nt(G, (qe) => q(W, qe), () => m(W));
|
|
3734
|
+
var ve = ue(G, 2);
|
|
3735
|
+
let Dt;
|
|
3736
|
+
ve.__click = [Rs, It], ve.__keydown = [Bs, ir, or];
|
|
3737
|
+
var $t = E(ve), qt = E($t), Dr = E(qt);
|
|
3738
|
+
const $r = /* @__PURE__ */ re(() => I("console"));
|
|
3739
|
+
_n(Dr, {
|
|
3740
3740
|
get isSelected() {
|
|
3741
|
-
return m(
|
|
3741
|
+
return m($r);
|
|
3742
3742
|
}
|
|
3743
|
-
}), C(
|
|
3744
|
-
var Re =
|
|
3745
|
-
let
|
|
3746
|
-
Re.__click = [js,
|
|
3747
|
-
var
|
|
3748
|
-
const mo = /* @__PURE__ */ re(() =>
|
|
3749
|
-
|
|
3743
|
+
}), C(qt), C($t), je(2), C(ve), nt(ve, (qe) => q(T, qe), () => m(T));
|
|
3744
|
+
var Re = ue(ve, 2);
|
|
3745
|
+
let Tn;
|
|
3746
|
+
Re.__click = [js, It], Re.__keydown = [Fs, ir, or];
|
|
3747
|
+
var Dn = E(Re), $n = E(Dn), go = E($n);
|
|
3748
|
+
const mo = /* @__PURE__ */ re(() => I("api"));
|
|
3749
|
+
kn(go, {
|
|
3750
3750
|
get isSelected() {
|
|
3751
3751
|
return m(mo);
|
|
3752
3752
|
}
|
|
3753
|
-
}), C(
|
|
3754
|
-
(
|
|
3755
|
-
K(G, "href",
|
|
3753
|
+
}), C($n), C(Dn), je(2), C(Re), nt(Re, (qe) => q(D, qe), () => m(D)), C(j), he(
|
|
3754
|
+
(qe, Ce, ar, sr, lr, qr) => {
|
|
3755
|
+
K(G, "href", h() || "#"), de = we(G, 1, "nav-item chat-item svelte-8c4c8n", null, de, qe), K(G, "aria-current", Ce), K(ve, "href", y() || "#"), Dt = we(ve, 1, "nav-item console-item svelte-8c4c8n", null, Dt, ar), K(ve, "aria-current", sr), K(Re, "href", v() || "#"), Tn = we(Re, 1, "nav-item api-item svelte-8c4c8n", null, Tn, lr), K(Re, "aria-current", qr);
|
|
3756
3756
|
},
|
|
3757
3757
|
[
|
|
3758
3758
|
() => ({
|
|
3759
|
-
selected:
|
|
3759
|
+
selected: I("chat"),
|
|
3760
3760
|
hovered: V("chat")
|
|
3761
3761
|
}),
|
|
3762
|
-
() =>
|
|
3762
|
+
() => I("chat") ? "page" : void 0,
|
|
3763
3763
|
() => ({
|
|
3764
|
-
selected:
|
|
3764
|
+
selected: I("console"),
|
|
3765
3765
|
hovered: V("console")
|
|
3766
3766
|
}),
|
|
3767
|
-
() =>
|
|
3768
|
-
() => ({ selected:
|
|
3769
|
-
() =>
|
|
3767
|
+
() => I("console") ? "page" : void 0,
|
|
3768
|
+
() => ({ selected: I("api"), hovered: V("api") }),
|
|
3769
|
+
() => I("api") ? "page" : void 0
|
|
3770
3770
|
]
|
|
3771
|
-
),
|
|
3771
|
+
), be("mouseenter", G, () => q(A, "chat")), be("mouseleave", G, () => q(A, null)), be("mouseenter", ve, () => q(A, "console")), be("mouseleave", ve, () => q(A, null)), be("mouseenter", Re, () => q(A, "api")), be("mouseleave", Re, () => q(A, null)), M(x, j);
|
|
3772
3772
|
};
|
|
3773
|
-
X(
|
|
3774
|
-
f() && x(
|
|
3773
|
+
X(co, (x) => {
|
|
3774
|
+
f() && x(uo);
|
|
3775
3775
|
});
|
|
3776
3776
|
}
|
|
3777
|
-
C(
|
|
3778
|
-
var vo =
|
|
3777
|
+
C(Ir);
|
|
3778
|
+
var vo = ue(Ir, 2);
|
|
3779
3779
|
{
|
|
3780
3780
|
var fo = (x) => {
|
|
3781
3781
|
var j = Ks(), P = E(j);
|
|
3782
3782
|
{
|
|
3783
|
-
var
|
|
3784
|
-
var
|
|
3785
|
-
let
|
|
3786
|
-
ve.__click = [
|
|
3787
|
-
var
|
|
3788
|
-
xn(
|
|
3783
|
+
var ce = (ae) => {
|
|
3784
|
+
var Tt = Ys(), ve = E(Tt);
|
|
3785
|
+
let Dt;
|
|
3786
|
+
ve.__click = [qs, g];
|
|
3787
|
+
var $t = E(ve), qt = E($t), Dr = E(qt);
|
|
3788
|
+
xn(Dr, {
|
|
3789
3789
|
get isSelected() {
|
|
3790
|
-
return m(
|
|
3790
|
+
return m(k);
|
|
3791
3791
|
}
|
|
3792
|
-
}), C(
|
|
3793
|
-
(
|
|
3794
|
-
|
|
3792
|
+
}), C(qt), C($t), C(ve), C(Tt), he(
|
|
3793
|
+
($r) => {
|
|
3794
|
+
Dt = we(ve, 1, "help-link svelte-8c4c8n", null, Dt, $r), K(ve, "aria-current", m(k) ? "page" : void 0), K(ve, "href", g);
|
|
3795
3795
|
},
|
|
3796
|
-
[() => ({ selected: m(
|
|
3797
|
-
),
|
|
3796
|
+
[() => ({ selected: m(k) })]
|
|
3797
|
+
), M(ae, Tt);
|
|
3798
3798
|
};
|
|
3799
3799
|
X(P, (ae) => {
|
|
3800
|
-
|
|
3800
|
+
g && ae(ce);
|
|
3801
3801
|
});
|
|
3802
3802
|
}
|
|
3803
|
-
var G =
|
|
3804
|
-
const
|
|
3803
|
+
var G = ue(P, 2), de = E(G);
|
|
3804
|
+
const _e = /* @__PURE__ */ re(() => {
|
|
3805
3805
|
var ae;
|
|
3806
|
-
return (ae =
|
|
3807
|
-
}),
|
|
3806
|
+
return (ae = u()) == null ? void 0 : ae.userMeta;
|
|
3807
|
+
}), ke = /* @__PURE__ */ re(() => {
|
|
3808
3808
|
var ae;
|
|
3809
|
-
return (ae =
|
|
3809
|
+
return (ae = u()) == null ? void 0 : ae.menuItems;
|
|
3810
3810
|
});
|
|
3811
|
-
|
|
3811
|
+
yn(de, {
|
|
3812
3812
|
get userMeta() {
|
|
3813
|
-
return m(
|
|
3813
|
+
return m(_e);
|
|
3814
3814
|
},
|
|
3815
3815
|
get menuItems() {
|
|
3816
|
-
return m(
|
|
3816
|
+
return m(ke);
|
|
3817
3817
|
},
|
|
3818
3818
|
ariaLabel: "Open profile menu",
|
|
3819
3819
|
menuAlign: "desktop"
|
|
3820
|
-
}), C(G), C(j),
|
|
3820
|
+
}), C(G), C(j), M(x, j);
|
|
3821
3821
|
};
|
|
3822
3822
|
X(vo, (x) => {
|
|
3823
|
-
|
|
3823
|
+
u() && x(fo);
|
|
3824
3824
|
});
|
|
3825
3825
|
}
|
|
3826
|
-
C(
|
|
3827
|
-
var
|
|
3828
|
-
let
|
|
3829
|
-
var
|
|
3826
|
+
C(Mr);
|
|
3827
|
+
var Tr = ue(Mr, 2);
|
|
3828
|
+
let zn;
|
|
3829
|
+
var ho = E(Tr);
|
|
3830
3830
|
{
|
|
3831
|
-
var
|
|
3832
|
-
var j = Js(), P = E(j),
|
|
3833
|
-
ft(
|
|
3831
|
+
var bo = (x) => {
|
|
3832
|
+
var j = Js(), P = E(j), ce = E(P);
|
|
3833
|
+
ft(ce, t, "default", {}), C(P), C(j), M(x, j);
|
|
3834
3834
|
};
|
|
3835
|
-
X(
|
|
3836
|
-
m(U)() && x(
|
|
3835
|
+
X(ho, (x) => {
|
|
3836
|
+
m(U)() && x(bo);
|
|
3837
3837
|
});
|
|
3838
3838
|
}
|
|
3839
|
-
C(
|
|
3840
|
-
(x, j, P,
|
|
3841
|
-
Cn = we(
|
|
3839
|
+
C(Tr), C(Nt), nt(Nt, (x) => $ = x, () => $), he(
|
|
3840
|
+
(x, j, P, ce, G) => {
|
|
3841
|
+
Cn = we(Nt, 1, "side-nav-container svelte-8c4c8n", null, Cn, x), En = we($e, 1, "menu-button svelte-8c4c8n", null, En, j), $e.disabled = s(), K($e, "aria-label", P), K($e, "aria-expanded", ce), zn = we(Tr, 1, "expanded-content drawer-anim svelte-8c4c8n", null, zn, G);
|
|
3842
3842
|
},
|
|
3843
3843
|
[
|
|
3844
3844
|
() => ({ expanded: m(U)() }),
|
|
@@ -3847,8 +3847,8 @@ function to(e, t) {
|
|
|
3847
3847
|
() => m(U)() ? "true" : "false",
|
|
3848
3848
|
() => ({ open: m(U)() })
|
|
3849
3849
|
]
|
|
3850
|
-
),
|
|
3851
|
-
var
|
|
3850
|
+
), be("mouseenter", $e, () => q(N, !0)), be("mouseleave", $e, () => q(N, !1)), be("focus", $e, () => q(N, !0)), be("blur", $e, () => q(N, !1)), M(e, Nt);
|
|
3851
|
+
var po = ie({
|
|
3852
3852
|
get ssrSelectedItem() {
|
|
3853
3853
|
return a();
|
|
3854
3854
|
},
|
|
@@ -3862,10 +3862,10 @@ function to(e, t) {
|
|
|
3862
3862
|
l(x), w();
|
|
3863
3863
|
},
|
|
3864
3864
|
get onNavItemClick() {
|
|
3865
|
-
return
|
|
3865
|
+
return c();
|
|
3866
3866
|
},
|
|
3867
3867
|
set onNavItemClick(x = void 0) {
|
|
3868
|
-
|
|
3868
|
+
c(x), w();
|
|
3869
3869
|
},
|
|
3870
3870
|
get showAppIcons() {
|
|
3871
3871
|
return f();
|
|
@@ -3880,10 +3880,10 @@ function to(e, t) {
|
|
|
3880
3880
|
d(x), w();
|
|
3881
3881
|
},
|
|
3882
3882
|
get profileMenuData() {
|
|
3883
|
-
return
|
|
3883
|
+
return u();
|
|
3884
3884
|
},
|
|
3885
3885
|
set profileMenuData(x) {
|
|
3886
|
-
|
|
3886
|
+
u(x), w();
|
|
3887
3887
|
},
|
|
3888
3888
|
get apiUrl() {
|
|
3889
3889
|
return v();
|
|
@@ -3892,31 +3892,31 @@ function to(e, t) {
|
|
|
3892
3892
|
v(x), w();
|
|
3893
3893
|
},
|
|
3894
3894
|
get chatUrl() {
|
|
3895
|
-
return
|
|
3895
|
+
return h();
|
|
3896
3896
|
},
|
|
3897
3897
|
set chatUrl(x) {
|
|
3898
|
-
|
|
3898
|
+
h(x), w();
|
|
3899
3899
|
},
|
|
3900
3900
|
get consoleUrl() {
|
|
3901
|
-
return
|
|
3901
|
+
return y();
|
|
3902
3902
|
},
|
|
3903
3903
|
set consoleUrl(x) {
|
|
3904
|
-
|
|
3904
|
+
y(x), w();
|
|
3905
3905
|
},
|
|
3906
3906
|
get discoverUrl() {
|
|
3907
|
-
return
|
|
3907
|
+
return S();
|
|
3908
3908
|
},
|
|
3909
3909
|
set discoverUrl(x) {
|
|
3910
|
-
|
|
3910
|
+
S(x), w();
|
|
3911
3911
|
},
|
|
3912
3912
|
get supplementalMenuData() {
|
|
3913
|
-
return
|
|
3913
|
+
return L();
|
|
3914
3914
|
},
|
|
3915
3915
|
set supplementalMenuData(x) {
|
|
3916
|
-
|
|
3916
|
+
L(x), w();
|
|
3917
3917
|
}
|
|
3918
3918
|
});
|
|
3919
|
-
return n(),
|
|
3919
|
+
return n(), po;
|
|
3920
3920
|
}
|
|
3921
3921
|
Qt(["click", "keydown"]);
|
|
3922
3922
|
se(
|
|
@@ -3940,7 +3940,7 @@ se(
|
|
|
3940
3940
|
);
|
|
3941
3941
|
function Xs(e, t) {
|
|
3942
3942
|
ne(t, !0);
|
|
3943
|
-
let r =
|
|
3943
|
+
let r = _(t, "ssrSelectedItem", 7), n = _(t, "onNavToggle", 7), i = _(t, "onNavItemClick", 7), o = _(t, "showAppIcons", 7, !0), s = _(t, "hideDiscover", 7, !0), a = _(t, "profileMenuData", 7), l = _(t, "apiUrl", 7), c = _(t, "chatUrl", 7), f = _(t, "consoleUrl", 7), d = _(t, "discoverUrl", 7), u = _(t, "supplementalMenuData", 7);
|
|
3944
3944
|
return to(e, {
|
|
3945
3945
|
get ssrSelectedItem() {
|
|
3946
3946
|
return r();
|
|
@@ -3964,7 +3964,7 @@ function Xs(e, t) {
|
|
|
3964
3964
|
return l();
|
|
3965
3965
|
},
|
|
3966
3966
|
get chatUrl() {
|
|
3967
|
-
return
|
|
3967
|
+
return c();
|
|
3968
3968
|
},
|
|
3969
3969
|
get consoleUrl() {
|
|
3970
3970
|
return f();
|
|
@@ -3973,11 +3973,11 @@ function Xs(e, t) {
|
|
|
3973
3973
|
return d();
|
|
3974
3974
|
},
|
|
3975
3975
|
get supplementalMenuData() {
|
|
3976
|
-
return
|
|
3976
|
+
return u();
|
|
3977
3977
|
},
|
|
3978
|
-
children: (v,
|
|
3979
|
-
var
|
|
3980
|
-
ft(
|
|
3978
|
+
children: (v, h) => {
|
|
3979
|
+
var y = bt(), S = Ze(y);
|
|
3980
|
+
ft(S, t, "default", {}), M(v, y);
|
|
3981
3981
|
},
|
|
3982
3982
|
$$slots: { default: !0 }
|
|
3983
3983
|
}), ie({
|
|
@@ -4024,10 +4024,10 @@ function Xs(e, t) {
|
|
|
4024
4024
|
l(v), w();
|
|
4025
4025
|
},
|
|
4026
4026
|
get chatUrl() {
|
|
4027
|
-
return
|
|
4027
|
+
return c();
|
|
4028
4028
|
},
|
|
4029
4029
|
set chatUrl(v) {
|
|
4030
|
-
|
|
4030
|
+
c(v), w();
|
|
4031
4031
|
},
|
|
4032
4032
|
get consoleUrl() {
|
|
4033
4033
|
return f();
|
|
@@ -4042,10 +4042,10 @@ function Xs(e, t) {
|
|
|
4042
4042
|
d(v), w();
|
|
4043
4043
|
},
|
|
4044
4044
|
get supplementalMenuData() {
|
|
4045
|
-
return
|
|
4045
|
+
return u();
|
|
4046
4046
|
},
|
|
4047
4047
|
set supplementalMenuData(v) {
|
|
4048
|
-
|
|
4048
|
+
u(v), w();
|
|
4049
4049
|
}
|
|
4050
4050
|
});
|
|
4051
4051
|
}
|
|
@@ -4074,8 +4074,8 @@ const tl = {
|
|
|
4074
4074
|
code: "svg.svelte-ieg5x {display:block;}"
|
|
4075
4075
|
};
|
|
4076
4076
|
function Ct(e, t) {
|
|
4077
|
-
ne(t, !0),
|
|
4078
|
-
const r =
|
|
4077
|
+
ne(t, !0), ct(e, tl);
|
|
4078
|
+
const r = _(t, "isInverted", 7, !1), n = _(t, "width", 7, 102), i = _(t, "height", 7, 30), o = _(t, "showServiceMark", 7, !1), s = /* @__PURE__ */ Sr(t, [
|
|
4079
4079
|
"$$slots",
|
|
4080
4080
|
"$$events",
|
|
4081
4081
|
"$$legacy",
|
|
@@ -4085,9 +4085,9 @@ function Ct(e, t) {
|
|
|
4085
4085
|
"height",
|
|
4086
4086
|
"showServiceMark"
|
|
4087
4087
|
]), a = r() ? "var(--ai-color-white)" : "var(--ai-color-black)";
|
|
4088
|
-
var l =
|
|
4088
|
+
var l = bt(), c = Ze(l);
|
|
4089
4089
|
{
|
|
4090
|
-
var f = (
|
|
4090
|
+
var f = (u) => {
|
|
4091
4091
|
var v = Qs();
|
|
4092
4092
|
Jt(
|
|
4093
4093
|
v,
|
|
@@ -4102,8 +4102,8 @@ function Ct(e, t) {
|
|
|
4102
4102
|
}),
|
|
4103
4103
|
void 0,
|
|
4104
4104
|
"svelte-ieg5x"
|
|
4105
|
-
),
|
|
4106
|
-
}, d = (
|
|
4105
|
+
), M(u, v);
|
|
4106
|
+
}, d = (u) => {
|
|
4107
4107
|
var v = el();
|
|
4108
4108
|
Jt(
|
|
4109
4109
|
v,
|
|
@@ -4118,43 +4118,43 @@ function Ct(e, t) {
|
|
|
4118
4118
|
}),
|
|
4119
4119
|
void 0,
|
|
4120
4120
|
"svelte-ieg5x"
|
|
4121
|
-
),
|
|
4121
|
+
), M(u, v);
|
|
4122
4122
|
};
|
|
4123
|
-
X(
|
|
4124
|
-
o() ?
|
|
4123
|
+
X(c, (u) => {
|
|
4124
|
+
o() ? u(d, !1) : u(f);
|
|
4125
4125
|
});
|
|
4126
4126
|
}
|
|
4127
|
-
return
|
|
4127
|
+
return M(e, l), ie({
|
|
4128
4128
|
get isInverted() {
|
|
4129
4129
|
return r();
|
|
4130
4130
|
},
|
|
4131
|
-
set isInverted(
|
|
4132
|
-
r(
|
|
4131
|
+
set isInverted(u = !1) {
|
|
4132
|
+
r(u), w();
|
|
4133
4133
|
},
|
|
4134
4134
|
get width() {
|
|
4135
4135
|
return n();
|
|
4136
4136
|
},
|
|
4137
|
-
set width(
|
|
4138
|
-
n(
|
|
4137
|
+
set width(u = 102) {
|
|
4138
|
+
n(u), w();
|
|
4139
4139
|
},
|
|
4140
4140
|
get height() {
|
|
4141
4141
|
return i();
|
|
4142
4142
|
},
|
|
4143
|
-
set height(
|
|
4144
|
-
i(
|
|
4143
|
+
set height(u = 30) {
|
|
4144
|
+
i(u), w();
|
|
4145
4145
|
},
|
|
4146
4146
|
get showServiceMark() {
|
|
4147
4147
|
return o();
|
|
4148
4148
|
},
|
|
4149
|
-
set showServiceMark(
|
|
4150
|
-
o(
|
|
4149
|
+
set showServiceMark(u = !1) {
|
|
4150
|
+
o(u), w();
|
|
4151
4151
|
}
|
|
4152
4152
|
});
|
|
4153
4153
|
}
|
|
4154
4154
|
se(Ct, { isInverted: {}, width: {}, height: {}, showServiceMark: {} }, [], [], !0);
|
|
4155
4155
|
function rl(e, t) {
|
|
4156
4156
|
ne(t, !0);
|
|
4157
|
-
let r =
|
|
4157
|
+
let r = _(t, "isInverted", 7, !1), n = _(t, "width", 7, void 0), i = _(t, "height", 7, void 0), o = _(t, "showServiceMark", 7, !1), s = /* @__PURE__ */ Sr(t, [
|
|
4158
4158
|
"$$slots",
|
|
4159
4159
|
"$$events",
|
|
4160
4160
|
"$$legacy",
|
|
@@ -4229,10 +4229,10 @@ const al = {
|
|
|
4229
4229
|
code: ".nav-item.svelte-znogzv {flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--ai-size-4);text-decoration:none;color:var(--ai-color-neutral-600);transition:color var(--ai-transition-ease-fast);height:100%;}.nav-item.active.svelte-znogzv {color:var(--ai-color-neutral-900);}.nav-item.active.svelte-znogzv .icon:where(.svelte-znogzv) {background-color:var(--ai-color-steel-300);border-radius:var(--ai-size-8);}.nav-item.svelte-znogzv:hover {color:var(--ai-color-neutral-700);}.icon.svelte-znogzv {width:var(--ai-size-24);height:var(--ai-size-24);margin-bottom:var(--ai-size-2);display:flex;align-items:center;justify-content:center;padding:var(--ai-size-2);transition:background-color var(--ai-transition-ease-fast);}.label.svelte-znogzv {font-size:0.6875rem; /* 11px */font-weight:500;line-height:1;text-align:center;}"
|
|
4230
4230
|
};
|
|
4231
4231
|
function ro(e, t) {
|
|
4232
|
-
ne(t, !0),
|
|
4233
|
-
const [r, n] = tr(), i = () => Ve(
|
|
4234
|
-
let o =
|
|
4235
|
-
const
|
|
4232
|
+
ne(t, !0), ct(e, al);
|
|
4233
|
+
const [r, n] = tr(), i = () => Ve(pt, "$selectedItem", r);
|
|
4234
|
+
let o = _(t, "onNavItemClick", 7), s = _(t, "showAppIcons", 7, !0), a = _(t, "hideDiscover", 7, !0), l = _(t, "apiUrl", 7), c = _(t, "chatUrl", 7), f = _(t, "consoleUrl", 7), d = _(t, "discoverUrl", 7);
|
|
4235
|
+
const u = [
|
|
4236
4236
|
{
|
|
4237
4237
|
id: "discover",
|
|
4238
4238
|
label: "Discover",
|
|
@@ -4243,133 +4243,133 @@ function ro(e, t) {
|
|
|
4243
4243
|
id: "chat",
|
|
4244
4244
|
label: "Chat",
|
|
4245
4245
|
icon: wn,
|
|
4246
|
-
href:
|
|
4246
|
+
href: c() || "#"
|
|
4247
4247
|
},
|
|
4248
4248
|
{
|
|
4249
4249
|
id: "console",
|
|
4250
4250
|
label: "Console",
|
|
4251
|
-
icon:
|
|
4251
|
+
icon: _n,
|
|
4252
4252
|
href: f() || "#"
|
|
4253
4253
|
},
|
|
4254
4254
|
{
|
|
4255
4255
|
id: "api",
|
|
4256
4256
|
label: "API",
|
|
4257
|
-
icon:
|
|
4257
|
+
icon: kn,
|
|
4258
4258
|
href: l() || "#"
|
|
4259
4259
|
}
|
|
4260
|
-
], v = a() ?
|
|
4261
|
-
function
|
|
4262
|
-
var
|
|
4263
|
-
if (
|
|
4260
|
+
], v = a() ? u.filter((b) => b.id !== "discover") : u;
|
|
4261
|
+
function h(b) {
|
|
4262
|
+
var p;
|
|
4263
|
+
if (b !== "discover" && typeof window < "u" && sessionStorage.setItem("navigatingToMainNav", "true"), pe.setSelectedItem(b), b !== "discover")
|
|
4264
4264
|
try {
|
|
4265
|
-
Promise.resolve().then(() =>
|
|
4266
|
-
|
|
4265
|
+
Promise.resolve().then(() => gr).then(({ selectedSubNavItemTitle: k }) => {
|
|
4266
|
+
k.set(""), typeof window < "u" && (sessionStorage.removeItem("subNav-selectedTitle"), sessionStorage.removeItem("subNav-selectedId")), setTimeout(
|
|
4267
4267
|
() => {
|
|
4268
4268
|
const O = document.getElementById("main-content");
|
|
4269
4269
|
if (O) {
|
|
4270
|
-
const
|
|
4271
|
-
if (
|
|
4272
|
-
const A =
|
|
4273
|
-
|
|
4270
|
+
const $ = O.querySelector("h2[id], h3[id], h4[id], h5[id], h6[id]");
|
|
4271
|
+
if ($ && $.textContent) {
|
|
4272
|
+
const A = $.textContent.trim();
|
|
4273
|
+
k.set(A), typeof window < "u" && sessionStorage.setItem("subNav-selectedTitle", JSON.stringify(A));
|
|
4274
4274
|
}
|
|
4275
4275
|
}
|
|
4276
4276
|
},
|
|
4277
4277
|
200
|
|
4278
4278
|
);
|
|
4279
|
-
}).catch((
|
|
4280
|
-
console.log("[MobileBottomNav] Error clearing header state:",
|
|
4279
|
+
}).catch((k) => {
|
|
4280
|
+
console.log("[MobileBottomNav] Error clearing header state:", k);
|
|
4281
4281
|
});
|
|
4282
|
-
} catch (
|
|
4283
|
-
console.log("[MobileBottomNav] Import failed for clearing state:",
|
|
4282
|
+
} catch (k) {
|
|
4283
|
+
console.log("[MobileBottomNav] Import failed for clearing state:", k);
|
|
4284
4284
|
}
|
|
4285
4285
|
else
|
|
4286
4286
|
try {
|
|
4287
|
-
Promise.resolve().then(() =>
|
|
4288
|
-
|
|
4289
|
-
}).catch((
|
|
4290
|
-
console.log("[MobileBottomNav] Error clearing header state for Discover:",
|
|
4287
|
+
Promise.resolve().then(() => gr).then(({ selectedSubNavItemTitle: k }) => {
|
|
4288
|
+
k.set(""), typeof window < "u" && (sessionStorage.removeItem("subNav-selectedTitle"), sessionStorage.removeItem("subNav-selectedId"));
|
|
4289
|
+
}).catch((k) => {
|
|
4290
|
+
console.log("[MobileBottomNav] Error clearing header state for Discover:", k);
|
|
4291
4291
|
});
|
|
4292
|
-
} catch (
|
|
4293
|
-
console.log("[MobileBottomNav] Import failed for clearing Discover state:",
|
|
4292
|
+
} catch (k) {
|
|
4293
|
+
console.log("[MobileBottomNav] Import failed for clearing Discover state:", k);
|
|
4294
4294
|
}
|
|
4295
|
-
(
|
|
4295
|
+
(p = o()) == null || p({ item: b, expanded: !1 });
|
|
4296
4296
|
}
|
|
4297
|
-
var
|
|
4297
|
+
var y = bt(), S = Ze(y);
|
|
4298
4298
|
{
|
|
4299
|
-
var
|
|
4300
|
-
var
|
|
4301
|
-
Pi(
|
|
4302
|
-
var
|
|
4299
|
+
var L = (b) => {
|
|
4300
|
+
var p = ol();
|
|
4301
|
+
Pi(p, 21, () => v, Ia, (k, O) => {
|
|
4302
|
+
var $ = il();
|
|
4303
4303
|
let A;
|
|
4304
|
-
|
|
4305
|
-
var
|
|
4304
|
+
$.__click = [nl, h, O];
|
|
4305
|
+
var N = E($), B = E(N);
|
|
4306
4306
|
const J = /* @__PURE__ */ re(() => i() === m(O).id);
|
|
4307
|
-
|
|
4308
|
-
Y(
|
|
4307
|
+
$a(B, () => m(O).icon, (D, Y) => {
|
|
4308
|
+
Y(D, {
|
|
4309
4309
|
get isSelected() {
|
|
4310
4310
|
return m(J);
|
|
4311
4311
|
}
|
|
4312
4312
|
});
|
|
4313
|
-
}), C(
|
|
4314
|
-
var W =
|
|
4315
|
-
C(W), C(
|
|
4316
|
-
(
|
|
4317
|
-
K(
|
|
4313
|
+
}), C(N);
|
|
4314
|
+
var W = ue(N, 2), T = E(W, !0);
|
|
4315
|
+
C(W), C($), he(
|
|
4316
|
+
(D) => {
|
|
4317
|
+
K($, "href", m(O).href), A = we($, 1, `nav-item ${m(O).id}-item`, "svelte-znogzv", A, D), K($, "part", `${m(O).id}-item`), Kt(T, m(O).label);
|
|
4318
4318
|
},
|
|
4319
4319
|
[() => ({ active: i() === m(O).id })]
|
|
4320
|
-
),
|
|
4321
|
-
}), C(
|
|
4320
|
+
), M(k, $);
|
|
4321
|
+
}), C(p), M(b, p);
|
|
4322
4322
|
};
|
|
4323
|
-
X(
|
|
4324
|
-
s() &&
|
|
4323
|
+
X(S, (b) => {
|
|
4324
|
+
s() && b(L);
|
|
4325
4325
|
});
|
|
4326
4326
|
}
|
|
4327
|
-
|
|
4328
|
-
var
|
|
4327
|
+
M(e, y);
|
|
4328
|
+
var g = ie({
|
|
4329
4329
|
get onNavItemClick() {
|
|
4330
4330
|
return o();
|
|
4331
4331
|
},
|
|
4332
|
-
set onNavItemClick(
|
|
4333
|
-
o(
|
|
4332
|
+
set onNavItemClick(b) {
|
|
4333
|
+
o(b), w();
|
|
4334
4334
|
},
|
|
4335
4335
|
get showAppIcons() {
|
|
4336
4336
|
return s();
|
|
4337
4337
|
},
|
|
4338
|
-
set showAppIcons(
|
|
4339
|
-
s(
|
|
4338
|
+
set showAppIcons(b = !0) {
|
|
4339
|
+
s(b), w();
|
|
4340
4340
|
},
|
|
4341
4341
|
get hideDiscover() {
|
|
4342
4342
|
return a();
|
|
4343
4343
|
},
|
|
4344
|
-
set hideDiscover(
|
|
4345
|
-
a(
|
|
4344
|
+
set hideDiscover(b = !0) {
|
|
4345
|
+
a(b), w();
|
|
4346
4346
|
},
|
|
4347
4347
|
get apiUrl() {
|
|
4348
4348
|
return l();
|
|
4349
4349
|
},
|
|
4350
|
-
set apiUrl(
|
|
4351
|
-
l(
|
|
4350
|
+
set apiUrl(b) {
|
|
4351
|
+
l(b), w();
|
|
4352
4352
|
},
|
|
4353
4353
|
get chatUrl() {
|
|
4354
|
-
return
|
|
4354
|
+
return c();
|
|
4355
4355
|
},
|
|
4356
|
-
set chatUrl(
|
|
4357
|
-
|
|
4356
|
+
set chatUrl(b) {
|
|
4357
|
+
c(b), w();
|
|
4358
4358
|
},
|
|
4359
4359
|
get consoleUrl() {
|
|
4360
4360
|
return f();
|
|
4361
4361
|
},
|
|
4362
|
-
set consoleUrl(
|
|
4363
|
-
f(
|
|
4362
|
+
set consoleUrl(b) {
|
|
4363
|
+
f(b), w();
|
|
4364
4364
|
},
|
|
4365
4365
|
get discoverUrl() {
|
|
4366
4366
|
return d();
|
|
4367
4367
|
},
|
|
4368
|
-
set discoverUrl(
|
|
4369
|
-
d(
|
|
4368
|
+
set discoverUrl(b) {
|
|
4369
|
+
d(b), w();
|
|
4370
4370
|
}
|
|
4371
4371
|
});
|
|
4372
|
-
return n(),
|
|
4372
|
+
return n(), g;
|
|
4373
4373
|
}
|
|
4374
4374
|
Qt(["click"]);
|
|
4375
4375
|
se(
|
|
@@ -4389,7 +4389,7 @@ se(
|
|
|
4389
4389
|
);
|
|
4390
4390
|
function sl(e, t) {
|
|
4391
4391
|
ne(t, !0);
|
|
4392
|
-
let r =
|
|
4392
|
+
let r = _(t, "onNavItemClick", 7), n = _(t, "showAppIcons", 7, !0), i = _(t, "hideDiscover", 7, !0), o = _(t, "apiUrl", 7), s = _(t, "chatUrl", 7), a = _(t, "consoleUrl", 7), l = _(t, "discoverUrl", 7);
|
|
4393
4393
|
return ro(e, {
|
|
4394
4394
|
get onNavItemClick() {
|
|
4395
4395
|
return r();
|
|
@@ -4416,44 +4416,44 @@ function sl(e, t) {
|
|
|
4416
4416
|
get onNavItemClick() {
|
|
4417
4417
|
return r();
|
|
4418
4418
|
},
|
|
4419
|
-
set onNavItemClick(
|
|
4420
|
-
r(
|
|
4419
|
+
set onNavItemClick(c) {
|
|
4420
|
+
r(c), w();
|
|
4421
4421
|
},
|
|
4422
4422
|
get showAppIcons() {
|
|
4423
4423
|
return n();
|
|
4424
4424
|
},
|
|
4425
|
-
set showAppIcons(
|
|
4426
|
-
n(
|
|
4425
|
+
set showAppIcons(c = !0) {
|
|
4426
|
+
n(c), w();
|
|
4427
4427
|
},
|
|
4428
4428
|
get hideDiscover() {
|
|
4429
4429
|
return i();
|
|
4430
4430
|
},
|
|
4431
|
-
set hideDiscover(
|
|
4432
|
-
i(
|
|
4431
|
+
set hideDiscover(c = !0) {
|
|
4432
|
+
i(c), w();
|
|
4433
4433
|
},
|
|
4434
4434
|
get apiUrl() {
|
|
4435
4435
|
return o();
|
|
4436
4436
|
},
|
|
4437
|
-
set apiUrl(
|
|
4438
|
-
o(
|
|
4437
|
+
set apiUrl(c) {
|
|
4438
|
+
o(c), w();
|
|
4439
4439
|
},
|
|
4440
4440
|
get chatUrl() {
|
|
4441
4441
|
return s();
|
|
4442
4442
|
},
|
|
4443
|
-
set chatUrl(
|
|
4444
|
-
s(
|
|
4443
|
+
set chatUrl(c) {
|
|
4444
|
+
s(c), w();
|
|
4445
4445
|
},
|
|
4446
4446
|
get consoleUrl() {
|
|
4447
4447
|
return a();
|
|
4448
4448
|
},
|
|
4449
|
-
set consoleUrl(
|
|
4450
|
-
a(
|
|
4449
|
+
set consoleUrl(c) {
|
|
4450
|
+
a(c), w();
|
|
4451
4451
|
},
|
|
4452
4452
|
get discoverUrl() {
|
|
4453
4453
|
return l();
|
|
4454
4454
|
},
|
|
4455
|
-
set discoverUrl(
|
|
4456
|
-
l(
|
|
4455
|
+
set discoverUrl(c) {
|
|
4456
|
+
l(c), w();
|
|
4457
4457
|
}
|
|
4458
4458
|
});
|
|
4459
4459
|
}
|
|
@@ -4474,27 +4474,27 @@ customElements.define("graymatter-mobile-bottom-nav", se(
|
|
|
4474
4474
|
));
|
|
4475
4475
|
var ll = (e, t) => {
|
|
4476
4476
|
(e.key === "Enter" || e.key === " ") && t();
|
|
4477
|
-
},
|
|
4478
|
-
const
|
|
4477
|
+
}, cl = /* @__PURE__ */ te('<div class="mobile-overlay" role="button" tabindex="0" aria-label="Close navigation menu (Escape key supported)" part="mobile-overlay"></div>'), ul = /* @__PURE__ */ te('<a part="logo-link" class="logo-link svelte-1anbrit"><!></a>'), dl = /* @__PURE__ */ te('<div class="subnav-section svelte-1anbrit" part="subnav-section"><!></div>'), vl = /* @__PURE__ */ te('<div class="no-subnav-message svelte-1anbrit" part="no-subnav-message"><p class="svelte-1anbrit">Select a section from the bottom navigation</p></div>'), fl = /* @__PURE__ */ te('<!> <div part="mobile-side-menu"><div class="menu-header svelte-1anbrit" part="menu-header"><button class="close-button svelte-1anbrit" aria-label="Close navigation menu" part="close-button"><!></button> <div class="logo-container svelte-1anbrit" part="logo-container"><!></div></div> <div class="menu-content svelte-1anbrit" part="menu-content"><!></div></div>', 1);
|
|
4478
|
+
const hl = {
|
|
4479
4479
|
hash: "svelte-1anbrit",
|
|
4480
4480
|
code: ".no-subnav-message.svelte-1anbrit {padding:var(--ai-size-16);text-align:center;color:var(--ai-color-steel-600);font-size:var(--ai-size-14);}.no-subnav-message.svelte-1anbrit p:where(.svelte-1anbrit) {margin:0;}.mobile-side-menu.svelte-1anbrit {position:fixed;top:0;left:0;bottom:0;width:80%;max-width:85vw;background:var(--ai-color-steel-50);transform:translateX(-100%);transition:transform var(--ai-transition-ease-medium);z-index:var(--ai-layer-50);flex-direction:column;box-shadow:var(--ai-size-2) 0 var(--ai-size-10) #0000001a;}.mobile-side-menu.open.svelte-1anbrit {transform:translateX(0);}.menu-header.svelte-1anbrit {display:flex;align-items:center;padding:var(--ai-size-16);gap:var(--ai-size-16);}.mobile-side-menu.svelte-1anbrit .logo-container:where(.svelte-1anbrit) {display:flex;}.logo-link.svelte-1anbrit {display:flex;}.close-button.svelte-1anbrit {display:flex;align-items:center;justify-content:center;padding:0;border:none;background:none;color:var(--ai-color-neutral-700);cursor:pointer;border-radius:var(--ai-size-2);transition:background-color var(--ai-transition-ease-fast);}.close-button.svelte-1anbrit:hover {background-color:var(--ai-color-neutral-100);}.menu-content.svelte-1anbrit {flex:1;overflow-y:auto;padding:0;}.subnav-section.svelte-1anbrit {overflow-y:auto;max-height:calc(100vh - 4rem); /* leave space for header/close */}"
|
|
4481
4481
|
};
|
|
4482
4482
|
function no(e, t) {
|
|
4483
|
-
ne(t, !0),
|
|
4484
|
-
const [r, n] = tr(), i = () => Ve(Ae, "$isExpanded", r), o = () => Ve(
|
|
4485
|
-
let s, a = null, l =
|
|
4486
|
-
function f(
|
|
4487
|
-
if (a =
|
|
4483
|
+
ne(t, !0), ct(e, hl);
|
|
4484
|
+
const [r, n] = tr(), i = () => Ve(Ae, "$isExpanded", r), o = () => Ve(pt, "$selectedItem", r);
|
|
4485
|
+
let s, a = null, l = _(t, "logoLinkUrl", 7), c = _(t, "logoLinkLabel", 7);
|
|
4486
|
+
function f(T) {
|
|
4487
|
+
if (a = T.detail.hash, d(), a) {
|
|
4488
4488
|
const Y = document.getElementById(a);
|
|
4489
4489
|
if (Y) {
|
|
4490
|
-
const
|
|
4491
|
-
if (
|
|
4492
|
-
const V =
|
|
4493
|
-
|
|
4490
|
+
const z = document.getElementById("main-content-mobile"), I = z ? z.querySelector(`[id="${a}"]`) : null;
|
|
4491
|
+
if (I && z) {
|
|
4492
|
+
const V = I.getBoundingClientRect(), U = z.getBoundingClientRect(), ee = z.scrollTop + V.top - U.top;
|
|
4493
|
+
z.scrollTo({ top: ee, behavior: "auto" }), setTimeout(
|
|
4494
4494
|
() => {
|
|
4495
4495
|
var fe;
|
|
4496
4496
|
window.dispatchEvent(new CustomEvent("sectionVisible", {
|
|
4497
|
-
detail: { title: (fe =
|
|
4497
|
+
detail: { title: (fe = I.textContent) == null ? void 0 : fe.trim(), id: I.id }
|
|
4498
4498
|
}));
|
|
4499
4499
|
},
|
|
4500
4500
|
100
|
|
@@ -4521,92 +4521,92 @@ function no(e, t) {
|
|
|
4521
4521
|
}
|
|
4522
4522
|
er(() => {
|
|
4523
4523
|
window.addEventListener("mobileAnchorNavigate", f);
|
|
4524
|
-
const
|
|
4524
|
+
const T = () => {
|
|
4525
4525
|
d();
|
|
4526
4526
|
};
|
|
4527
|
-
window.addEventListener("closeMobileMenu",
|
|
4528
|
-
const
|
|
4529
|
-
const
|
|
4530
|
-
V &&
|
|
4527
|
+
window.addEventListener("closeMobileMenu", T);
|
|
4528
|
+
const D = (z) => {
|
|
4529
|
+
const I = z, { isMobile: V } = I.detail;
|
|
4530
|
+
V && pe.setExpanded(!1);
|
|
4531
4531
|
};
|
|
4532
|
-
window.addEventListener("layoutTransition",
|
|
4533
|
-
const Y = (
|
|
4534
|
-
const
|
|
4535
|
-
|
|
4532
|
+
window.addEventListener("layoutTransition", D);
|
|
4533
|
+
const Y = (z) => {
|
|
4534
|
+
const I = document.activeElement;
|
|
4535
|
+
z.key === "Escape" && i() && !(I && I.closest(".profile-context-menu")) && d();
|
|
4536
4536
|
};
|
|
4537
4537
|
return window.addEventListener("keydown", Y), () => {
|
|
4538
|
-
window.removeEventListener("mobileAnchorNavigate", f), window.removeEventListener("closeMobileMenu",
|
|
4538
|
+
window.removeEventListener("mobileAnchorNavigate", f), window.removeEventListener("closeMobileMenu", T), window.removeEventListener("layoutTransition", D), window.removeEventListener("keydown", Y);
|
|
4539
4539
|
};
|
|
4540
4540
|
});
|
|
4541
4541
|
function d() {
|
|
4542
|
-
|
|
4542
|
+
pe.setExpanded(!1);
|
|
4543
4543
|
}
|
|
4544
|
-
var
|
|
4544
|
+
var u = fl(), v = Ze(u);
|
|
4545
4545
|
{
|
|
4546
|
-
var
|
|
4547
|
-
var
|
|
4548
|
-
|
|
4546
|
+
var h = (T) => {
|
|
4547
|
+
var D = cl();
|
|
4548
|
+
D.__click = d, D.__keydown = [ll, d], M(T, D);
|
|
4549
4549
|
};
|
|
4550
|
-
X(v, (
|
|
4551
|
-
i() &&
|
|
4550
|
+
X(v, (T) => {
|
|
4551
|
+
i() && T(h);
|
|
4552
4552
|
});
|
|
4553
4553
|
}
|
|
4554
|
-
var
|
|
4555
|
-
let
|
|
4556
|
-
var
|
|
4557
|
-
|
|
4558
|
-
var
|
|
4559
|
-
|
|
4560
|
-
var
|
|
4554
|
+
var y = ue(v, 2);
|
|
4555
|
+
let S;
|
|
4556
|
+
var L = E(y), g = E(L);
|
|
4557
|
+
g.__click = d;
|
|
4558
|
+
var b = E(g);
|
|
4559
|
+
Lr(b, { isOpen: !0 }), C(g);
|
|
4560
|
+
var p = ue(g, 2), k = E(p);
|
|
4561
4561
|
{
|
|
4562
|
-
var O = (
|
|
4563
|
-
var
|
|
4564
|
-
Ct(Y, { width: 75, height: 22 }), C(
|
|
4565
|
-
K(
|
|
4566
|
-
}),
|
|
4567
|
-
},
|
|
4568
|
-
Ct(
|
|
4562
|
+
var O = (T) => {
|
|
4563
|
+
var D = ul(), Y = E(D);
|
|
4564
|
+
Ct(Y, { width: 75, height: 22 }), C(D), he(() => {
|
|
4565
|
+
K(D, "href", l()), K(D, "aria-label", c());
|
|
4566
|
+
}), M(T, D);
|
|
4567
|
+
}, $ = (T) => {
|
|
4568
|
+
Ct(T, { width: 75, height: 22 });
|
|
4569
4569
|
};
|
|
4570
|
-
X(
|
|
4571
|
-
l() ?
|
|
4570
|
+
X(k, (T) => {
|
|
4571
|
+
l() ? T(O) : T($, !1);
|
|
4572
4572
|
});
|
|
4573
4573
|
}
|
|
4574
|
-
C(
|
|
4575
|
-
var A =
|
|
4574
|
+
C(p), C(L);
|
|
4575
|
+
var A = ue(L, 2), N = E(A);
|
|
4576
4576
|
{
|
|
4577
|
-
var B = (
|
|
4578
|
-
var
|
|
4579
|
-
ft(Y, t, "default", {}), C(
|
|
4580
|
-
}, J = (
|
|
4581
|
-
var
|
|
4582
|
-
|
|
4577
|
+
var B = (T) => {
|
|
4578
|
+
var D = dl(), Y = E(D);
|
|
4579
|
+
ft(Y, t, "default", {}), C(D), M(T, D);
|
|
4580
|
+
}, J = (T) => {
|
|
4581
|
+
var D = vl();
|
|
4582
|
+
M(T, D);
|
|
4583
4583
|
};
|
|
4584
|
-
X(
|
|
4585
|
-
o() && o() !== "discover" ?
|
|
4584
|
+
X(N, (T) => {
|
|
4585
|
+
o() && o() !== "discover" ? T(B) : T(J, !1);
|
|
4586
4586
|
});
|
|
4587
4587
|
}
|
|
4588
|
-
C(A), C(
|
|
4588
|
+
C(A), C(y), nt(y, (T) => s = T, () => s), he((T) => S = we(y, 1, "mobile-side-menu svelte-1anbrit", null, S, T), [() => ({ open: i() })]), M(e, u);
|
|
4589
4589
|
var W = ie({
|
|
4590
4590
|
get logoLinkUrl() {
|
|
4591
4591
|
return l();
|
|
4592
4592
|
},
|
|
4593
|
-
set logoLinkUrl(
|
|
4594
|
-
l(
|
|
4593
|
+
set logoLinkUrl(T) {
|
|
4594
|
+
l(T), w();
|
|
4595
4595
|
},
|
|
4596
4596
|
get logoLinkLabel() {
|
|
4597
|
-
return
|
|
4597
|
+
return c();
|
|
4598
4598
|
},
|
|
4599
|
-
set logoLinkLabel(
|
|
4600
|
-
|
|
4599
|
+
set logoLinkLabel(T) {
|
|
4600
|
+
c(T), w();
|
|
4601
4601
|
}
|
|
4602
4602
|
});
|
|
4603
4603
|
return n(), W;
|
|
4604
4604
|
}
|
|
4605
4605
|
Qt(["click", "keydown"]);
|
|
4606
4606
|
se(no, { logoLinkUrl: {}, logoLinkLabel: {} }, ["default"], [], !0);
|
|
4607
|
-
function
|
|
4607
|
+
function bl(e, t) {
|
|
4608
4608
|
ne(t, !0);
|
|
4609
|
-
let r =
|
|
4609
|
+
let r = _(t, "logoLinkUrl", 7), n = _(t, "logoLinkLabel", 7);
|
|
4610
4610
|
return no(e, {
|
|
4611
4611
|
get logoLinkUrl() {
|
|
4612
4612
|
return r();
|
|
@@ -4615,8 +4615,8 @@ function hl(e, t) {
|
|
|
4615
4615
|
return n();
|
|
4616
4616
|
},
|
|
4617
4617
|
children: (i, o) => {
|
|
4618
|
-
var s =
|
|
4619
|
-
ft(a, t, "default", {}),
|
|
4618
|
+
var s = bt(), a = Ze(s);
|
|
4619
|
+
ft(a, t, "default", {}), M(i, s);
|
|
4620
4620
|
},
|
|
4621
4621
|
$$slots: { default: !0 }
|
|
4622
4622
|
}), ie({
|
|
@@ -4634,15 +4634,15 @@ function hl(e, t) {
|
|
|
4634
4634
|
}
|
|
4635
4635
|
});
|
|
4636
4636
|
}
|
|
4637
|
-
customElements.define("graymatter-mobile-side-menu", se(
|
|
4638
|
-
function
|
|
4639
|
-
|
|
4637
|
+
customElements.define("graymatter-mobile-side-menu", se(bl, { logoLinkUrl: {}, logoLinkLabel: {} }, ["default"], [], !0));
|
|
4638
|
+
function pl() {
|
|
4639
|
+
pe.toggleExpanded();
|
|
4640
4640
|
}
|
|
4641
|
-
function
|
|
4641
|
+
function gl(e, t) {
|
|
4642
4642
|
(t === "#" || t != null && t.startsWith("#")) && e.preventDefault();
|
|
4643
4643
|
}
|
|
4644
|
-
var ml = /* @__PURE__ */ te('<a class="display-flex"><!></a>'), wl = /* @__PURE__ */ te('<a title="Help" aria-label="Help"><span class="icon-container svelte-1lqlek0"><!></span></a>'),
|
|
4645
|
-
const
|
|
4644
|
+
var ml = /* @__PURE__ */ te('<a class="display-flex"><!></a>'), wl = /* @__PURE__ */ te('<a title="Help" aria-label="Help"><span class="icon-container svelte-1lqlek0"><!></span></a>'), _l = /* @__PURE__ */ te('<nav class="mobile-top-nav svelte-1lqlek0" part="mobile-top-nav"><button aria-label="Open navigation menu" part="menu-button"><!></button> <div class="brand svelte-1lqlek0"><!> <span class="brand-text svelte-1lqlek0"> </span></div> <!> <!></nav>');
|
|
4645
|
+
const kl = {
|
|
4646
4646
|
hash: "svelte-1lqlek0",
|
|
4647
4647
|
code: `.menu-button.svelte-1lqlek0 {display:flex;align-items:center;justify-content:center;border:none;background:none;cursor:pointer;border-radius:var(--ai-size-8);transition:background-color var(--ai-transition-ease-fast);}.menu-button.svelte-1lqlek0:disabled,
|
|
4648
4648
|
.menu-button.disabled.svelte-1lqlek0 {cursor:not-allowed;opacity:0.5;background-color:transparent;}.mobile-top-nav.svelte-1lqlek0 .menu-button:where(.svelte-1lqlek0) {padding:0;height:var(--ai-size-40);color:var(--ai-color-neutral-700);}.menu-button.svelte-1lqlek0:hover {background-color:var(--ai-color-neutral-100);}
|
|
@@ -4652,34 +4652,34 @@ const _l = {
|
|
|
4652
4652
|
.help-button.selected.svelte-1lqlek0 .icon-container:where(.svelte-1lqlek0) {background-color:var(--ai-color-steel-300);}`
|
|
4653
4653
|
};
|
|
4654
4654
|
function io(e, t) {
|
|
4655
|
-
var
|
|
4656
|
-
ne(t, !0),
|
|
4657
|
-
const [r, n] = tr(), i = () => Ve(vt, "$selectedSubNavItemTitle", r), o = () => Ve(
|
|
4658
|
-
let s =
|
|
4659
|
-
const f = (Y = (
|
|
4660
|
-
function d(
|
|
4655
|
+
var T, D, Y;
|
|
4656
|
+
ne(t, !0), ct(e, kl);
|
|
4657
|
+
const [r, n] = tr(), i = () => Ve(vt, "$selectedSubNavItemTitle", r), o = () => Ve(gn, "$isMenuButtonDisabled", r);
|
|
4658
|
+
let s = _(t, "profileMenuData", 7), a = _(t, "logoLinkUrl", 7), l = _(t, "logoLinkLabel", 7), c = _(t, "supplementalMenuData", 7);
|
|
4659
|
+
const f = (Y = (D = (T = c()) == null ? void 0 : T.help) == null ? void 0 : D.url) == null ? void 0 : Y.trim();
|
|
4660
|
+
function d(z, I) {
|
|
4661
4661
|
try {
|
|
4662
|
-
return new URL(
|
|
4662
|
+
return new URL(z, I).pathname;
|
|
4663
4663
|
} catch {
|
|
4664
4664
|
return null;
|
|
4665
4665
|
}
|
|
4666
4666
|
}
|
|
4667
|
-
function
|
|
4667
|
+
function u() {
|
|
4668
4668
|
if (!f || f === "#" || f.startsWith("#"))
|
|
4669
4669
|
return !1;
|
|
4670
|
-
const
|
|
4671
|
-
if (
|
|
4672
|
-
const
|
|
4673
|
-
return
|
|
4670
|
+
const z = globalThis.location;
|
|
4671
|
+
if (z != null && z.origin && (z != null && z.pathname)) {
|
|
4672
|
+
const I = d(f, z.origin);
|
|
4673
|
+
return I !== null && z.pathname === I;
|
|
4674
4674
|
}
|
|
4675
4675
|
return !1;
|
|
4676
4676
|
}
|
|
4677
|
-
const v = /* @__PURE__ */ re(
|
|
4677
|
+
const v = /* @__PURE__ */ re(u);
|
|
4678
4678
|
er(() => {
|
|
4679
|
-
const
|
|
4679
|
+
const z = (ee) => {
|
|
4680
4680
|
const fe = ee;
|
|
4681
4681
|
fe.detail && fe.detail.title && (vt.set(fe.detail.title), typeof window < "u" && sessionStorage.setItem("subNav-selectedTitle", JSON.stringify(fe.detail.title)));
|
|
4682
|
-
},
|
|
4682
|
+
}, I = () => {
|
|
4683
4683
|
if (typeof window > "u") return;
|
|
4684
4684
|
const ee = document.getElementById("main-content");
|
|
4685
4685
|
if (!ee) return;
|
|
@@ -4689,11 +4689,11 @@ function io(e, t) {
|
|
|
4689
4689
|
i() || (vt.set(nr), typeof window < "u" && sessionStorage.setItem("subNav-selectedTitle", JSON.stringify(nr)));
|
|
4690
4690
|
}
|
|
4691
4691
|
};
|
|
4692
|
-
window.addEventListener("sectionVisible",
|
|
4692
|
+
window.addEventListener("sectionVisible", z);
|
|
4693
4693
|
const V = sessionStorage.getItem("subNav-selectedTitle");
|
|
4694
4694
|
(!V || V === '""' || V === "null") && setTimeout(
|
|
4695
4695
|
() => {
|
|
4696
|
-
|
|
4696
|
+
I();
|
|
4697
4697
|
},
|
|
4698
4698
|
100
|
|
4699
4699
|
);
|
|
@@ -4701,68 +4701,68 @@ function io(e, t) {
|
|
|
4701
4701
|
m(v);
|
|
4702
4702
|
};
|
|
4703
4703
|
return window.addEventListener("popstate", U), () => {
|
|
4704
|
-
window.removeEventListener("sectionVisible",
|
|
4704
|
+
window.removeEventListener("sectionVisible", z), window.removeEventListener("popstate", U);
|
|
4705
4705
|
};
|
|
4706
4706
|
});
|
|
4707
|
-
var
|
|
4708
|
-
let
|
|
4709
|
-
|
|
4707
|
+
var h = _l(), y = E(h);
|
|
4708
|
+
let S;
|
|
4709
|
+
y.__click = [
|
|
4710
4710
|
// If it's a hash link, prevent default to stay on same page
|
|
4711
|
-
|
|
4711
|
+
pl
|
|
4712
4712
|
];
|
|
4713
|
-
var
|
|
4714
|
-
|
|
4715
|
-
var
|
|
4713
|
+
var L = E(y);
|
|
4714
|
+
Lr(L, {}), C(y);
|
|
4715
|
+
var g = ue(y, 2), b = E(g);
|
|
4716
4716
|
{
|
|
4717
|
-
var
|
|
4718
|
-
var
|
|
4719
|
-
Ct(V, { width: 75, height: 22 }), C(
|
|
4720
|
-
K(
|
|
4721
|
-
}), z
|
|
4722
|
-
},
|
|
4723
|
-
Ct(
|
|
4717
|
+
var p = (z) => {
|
|
4718
|
+
var I = ml(), V = E(I);
|
|
4719
|
+
Ct(V, { width: 75, height: 22 }), C(I), he(() => {
|
|
4720
|
+
K(I, "href", a()), K(I, "aria-label", l());
|
|
4721
|
+
}), M(z, I);
|
|
4722
|
+
}, k = (z) => {
|
|
4723
|
+
Ct(z, { width: 75, height: 22 });
|
|
4724
4724
|
};
|
|
4725
|
-
X(
|
|
4726
|
-
a() ?
|
|
4725
|
+
X(b, (z) => {
|
|
4726
|
+
a() ? z(p) : z(k, !1);
|
|
4727
4727
|
});
|
|
4728
4728
|
}
|
|
4729
|
-
var O =
|
|
4730
|
-
C(O), C(
|
|
4731
|
-
var A =
|
|
4729
|
+
var O = ue(b, 2), $ = E(O, !0);
|
|
4730
|
+
C(O), C(g);
|
|
4731
|
+
var A = ue(g, 2);
|
|
4732
4732
|
{
|
|
4733
|
-
var
|
|
4734
|
-
var
|
|
4733
|
+
var N = (z) => {
|
|
4734
|
+
var I = wl();
|
|
4735
4735
|
let V;
|
|
4736
|
-
|
|
4737
|
-
var U = E(
|
|
4736
|
+
I.__click = [gl, f];
|
|
4737
|
+
var U = E(I), ee = E(U);
|
|
4738
4738
|
xn(ee, {
|
|
4739
4739
|
get isSelected() {
|
|
4740
4740
|
return m(v);
|
|
4741
4741
|
}
|
|
4742
|
-
}), C(U), C(
|
|
4742
|
+
}), C(U), C(I), he(
|
|
4743
4743
|
(fe) => {
|
|
4744
|
-
V = we(
|
|
4744
|
+
V = we(I, 1, "help-button svelte-1lqlek0", null, V, fe), K(I, "aria-current", m(v) ? "page" : void 0), K(I, "href", f);
|
|
4745
4745
|
},
|
|
4746
4746
|
[() => ({ selected: m(v) })]
|
|
4747
|
-
), z
|
|
4747
|
+
), M(z, I);
|
|
4748
4748
|
};
|
|
4749
|
-
X(A, (
|
|
4750
|
-
f &&
|
|
4749
|
+
X(A, (z) => {
|
|
4750
|
+
f && z(N);
|
|
4751
4751
|
});
|
|
4752
4752
|
}
|
|
4753
|
-
var B =
|
|
4753
|
+
var B = ue(A, 2);
|
|
4754
4754
|
{
|
|
4755
|
-
var J = (
|
|
4756
|
-
const
|
|
4755
|
+
var J = (z) => {
|
|
4756
|
+
const I = /* @__PURE__ */ re(() => {
|
|
4757
4757
|
var U;
|
|
4758
4758
|
return (U = s()) == null ? void 0 : U.userMeta;
|
|
4759
4759
|
}), V = /* @__PURE__ */ re(() => {
|
|
4760
4760
|
var U;
|
|
4761
4761
|
return (U = s()) == null ? void 0 : U.menuItems;
|
|
4762
4762
|
});
|
|
4763
|
-
|
|
4763
|
+
yn(z, {
|
|
4764
4764
|
get userMeta() {
|
|
4765
|
-
return m(
|
|
4765
|
+
return m(I);
|
|
4766
4766
|
},
|
|
4767
4767
|
get menuItems() {
|
|
4768
4768
|
return m(V);
|
|
@@ -4771,40 +4771,40 @@ function io(e, t) {
|
|
|
4771
4771
|
menuAlign: "mobile"
|
|
4772
4772
|
});
|
|
4773
4773
|
};
|
|
4774
|
-
X(B, (
|
|
4775
|
-
s() &&
|
|
4774
|
+
X(B, (z) => {
|
|
4775
|
+
s() && z(J);
|
|
4776
4776
|
});
|
|
4777
4777
|
}
|
|
4778
|
-
C(
|
|
4779
|
-
(
|
|
4780
|
-
|
|
4778
|
+
C(h), he(
|
|
4779
|
+
(z) => {
|
|
4780
|
+
S = we(y, 1, "menu-button svelte-1lqlek0", null, S, z), y.disabled = o(), Kt($, i() || "");
|
|
4781
4781
|
},
|
|
4782
4782
|
[() => ({ disabled: o() })]
|
|
4783
|
-
),
|
|
4783
|
+
), M(e, h);
|
|
4784
4784
|
var W = ie({
|
|
4785
4785
|
get profileMenuData() {
|
|
4786
4786
|
return s();
|
|
4787
4787
|
},
|
|
4788
|
-
set profileMenuData(
|
|
4789
|
-
s(
|
|
4788
|
+
set profileMenuData(z) {
|
|
4789
|
+
s(z), w();
|
|
4790
4790
|
},
|
|
4791
4791
|
get logoLinkUrl() {
|
|
4792
4792
|
return a();
|
|
4793
4793
|
},
|
|
4794
|
-
set logoLinkUrl(
|
|
4795
|
-
a(
|
|
4794
|
+
set logoLinkUrl(z) {
|
|
4795
|
+
a(z), w();
|
|
4796
4796
|
},
|
|
4797
4797
|
get logoLinkLabel() {
|
|
4798
4798
|
return l();
|
|
4799
4799
|
},
|
|
4800
|
-
set logoLinkLabel(
|
|
4801
|
-
l(
|
|
4800
|
+
set logoLinkLabel(z) {
|
|
4801
|
+
l(z), w();
|
|
4802
4802
|
},
|
|
4803
4803
|
get supplementalMenuData() {
|
|
4804
|
-
return
|
|
4804
|
+
return c();
|
|
4805
4805
|
},
|
|
4806
|
-
set supplementalMenuData(
|
|
4807
|
-
|
|
4806
|
+
set supplementalMenuData(z) {
|
|
4807
|
+
c(z), w();
|
|
4808
4808
|
}
|
|
4809
4809
|
});
|
|
4810
4810
|
return n(), W;
|
|
@@ -4822,9 +4822,9 @@ se(
|
|
|
4822
4822
|
[],
|
|
4823
4823
|
!0
|
|
4824
4824
|
);
|
|
4825
|
-
function
|
|
4825
|
+
function yl(e, t) {
|
|
4826
4826
|
ne(t, !0);
|
|
4827
|
-
let r =
|
|
4827
|
+
let r = _(t, "profileMenuData", 7), n = _(t, "logoLinkUrl", 7), i = _(t, "logoLinkLabel", 7), o = _(t, "supplementalMenuData", 7);
|
|
4828
4828
|
return io(e, {
|
|
4829
4829
|
get profileMenuData() {
|
|
4830
4830
|
return r();
|
|
@@ -4866,7 +4866,7 @@ function kl(e, t) {
|
|
|
4866
4866
|
});
|
|
4867
4867
|
}
|
|
4868
4868
|
customElements.define("graymatter-mobile-top-nav", se(
|
|
4869
|
-
|
|
4869
|
+
yl,
|
|
4870
4870
|
{
|
|
4871
4871
|
profileMenuData: {},
|
|
4872
4872
|
logoLinkUrl: {},
|
|
@@ -4877,7 +4877,7 @@ customElements.define("graymatter-mobile-top-nav", se(
|
|
|
4877
4877
|
[],
|
|
4878
4878
|
!0
|
|
4879
4879
|
));
|
|
4880
|
-
function
|
|
4880
|
+
function zr(e, t) {
|
|
4881
4881
|
if (typeof window > "u") {
|
|
4882
4882
|
console.warn(
|
|
4883
4883
|
"[DesktopNavControl] Cannot control desktop navigation on server side"
|
|
@@ -4901,28 +4901,28 @@ function Lr(e, t) {
|
|
|
4901
4901
|
window.dispatchEvent(r);
|
|
4902
4902
|
}
|
|
4903
4903
|
function El() {
|
|
4904
|
-
|
|
4905
|
-
}
|
|
4906
|
-
function ql() {
|
|
4907
|
-
Lr("open");
|
|
4904
|
+
zr("toggle");
|
|
4908
4905
|
}
|
|
4909
4906
|
function Sl() {
|
|
4910
|
-
|
|
4907
|
+
zr("open");
|
|
4908
|
+
}
|
|
4909
|
+
function Ll() {
|
|
4910
|
+
zr("close");
|
|
4911
4911
|
}
|
|
4912
|
-
function
|
|
4913
|
-
|
|
4912
|
+
function zl(e) {
|
|
4913
|
+
zr("set", e);
|
|
4914
4914
|
}
|
|
4915
4915
|
export {
|
|
4916
4916
|
os as Button,
|
|
4917
|
-
|
|
4917
|
+
cs as DesktopHeader,
|
|
4918
4918
|
Xs as DesktopSideNav,
|
|
4919
4919
|
rl as Logo,
|
|
4920
4920
|
sl as MobileBottomNav,
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4921
|
+
bl as MobileSideMenu,
|
|
4922
|
+
yl as MobileTopNav,
|
|
4923
|
+
Ll as closeNavigation,
|
|
4924
|
+
zr as controlDesktopNavigation,
|
|
4925
|
+
Sl as openNavigation,
|
|
4926
|
+
zl as setNavigationState,
|
|
4927
4927
|
El as toggleNavigation
|
|
4928
4928
|
};
|